|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.activemq.itest.ejb.MessengerBean
This is a SSB that uses an outbound JMS Resource Adapter.
| Constructor Summary | |
MessengerBean()
|
|
| Method Summary | |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
String |
receiveMessage(Destination dest,
long timeout)
Receives a message from a queue. |
void |
sendMessage(Destination dest,
String text)
Sends a message to a named queue. |
void |
sendMessage(Destination dest,
String text,
int reps)
Sends a message to a named queue. |
void |
sendMessage(String text,
int reps)
Sends a message to queue. |
void |
setSessionContext(SessionContext sessionContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessengerBean()
| Method Detail |
public void ejbCreate()
public void ejbRemove()
ejbRemove in interface SessionBeanpublic void ejbActivate()
ejbActivate in interface SessionBeanpublic void ejbPassivate()
ejbPassivate in interface SessionBeanpublic void setSessionContext(SessionContext sessionContext)
setSessionContext in interface SessionBean
public void sendMessage(String text,
int reps)
throws RemoteException,
NamingException,
JMSException
text -
RemoteException
NamingException
JMSException
public void sendMessage(Destination dest,
String text,
int reps)
throws RemoteException,
NamingException,
JMSException
text -
RemoteException
NamingException
JMSException
public void sendMessage(Destination dest,
String text)
throws RemoteException,
NamingException,
JMSException
text -
RemoteException
NamingException
JMSException
public String receiveMessage(Destination dest,
long timeout)
throws RemoteException,
NamingException,
JMSException
timeout -
NamingException
JMSException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||