org.codehaus.activemq.itest.ejb
Interface MessengerObject

All Superinterfaces:
EJBObject, Remote

public interface MessengerObject
extends EJBObject

Provides the Remote interface of the MessengerBean.

Version:
$Revision: 1.2 $

Method Summary
 String receiveMessage(Destination dest, long timeout)
           
 int receiveMessage(long timeout, int reps)
           
 void sendMessage(Destination dest, String text)
           
 void sendMessage(Destination dest, String text, int reps)
           
 void sendMessage(String text, int reps)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

sendMessage

public void sendMessage(String text,
                        int reps)
                 throws RemoteException,
                        NamingException,
                        JMSException
Throws:
RemoteException
NamingException
JMSException

receiveMessage

public int receiveMessage(long timeout,
                          int reps)
                   throws RemoteException,
                          NamingException,
                          JMSException
Throws:
RemoteException
NamingException
JMSException

sendMessage

public void sendMessage(Destination dest,
                        String text,
                        int reps)

sendMessage

public void sendMessage(Destination dest,
                        String text)
                 throws RemoteException,
                        NamingException,
                        JMSException
Throws:
RemoteException
NamingException
JMSException

receiveMessage

public String receiveMessage(Destination dest,
                             long timeout)
                      throws RemoteException,
                             NamingException,
                             JMSException
Throws:
RemoteException
NamingException
JMSException


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.