|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oracle.howto.activemq.ActiveMQEJBBean
public class ActiveMQEJBBean
This is a Stateless Session Bean which is an example of Outbound Communication using ActiveMQ JCA Resource Adapter The Stateless Session Bean posts a message to ActiveMQ queue "queue.outbound"
Constructor Summary | |
---|---|
ActiveMQEJBBean()
|
Method Summary | |
---|---|
void |
ejbActivate()
Implements the standard api. |
void |
ejbCreate()
Implements the standard api. |
void |
ejbPassivate()
Implements the standard api. |
void |
ejbRemove()
Implements the standard api. |
void |
sendMessage(java.lang.String recvdmessage)
Posts a message to ActiveMQ queue "queue.outbound" using recvdMessage |
void |
setSessionContext(javax.ejb.SessionContext context)
Implements the standard api. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActiveMQEJBBean()
Method Detail |
---|
public void ejbCreate()
public void setSessionContext(javax.ejb.SessionContext context) throws javax.ejb.EJBException
setSessionContext
in interface javax.ejb.SessionBean
context
-
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.EJBException
ejbRemove
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void ejbActivate() throws javax.ejb.EJBException
ejbActivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
ejbPassivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
public void sendMessage(java.lang.String recvdmessage) throws javax.naming.NamingException, javax.jms.JMSException
recvdmessage
-
javax.naming.NamingException
javax.jms.JMSException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |