public class LSNRMessageBean
extends java.lang.Object
implements javax.ejb.MessageDrivenBean, javax.jms.MessageListener
Constructor and Description |
---|
LSNRMessageBean() |
Modifier and Type | Method and Description |
---|---|
void |
ejbCreate()
Creates an EJB
|
void |
ejbRemove()
Remove the EJB
|
void |
onMessage(javax.jms.Message msg)
Method which does processing after a messsage comes
|
void |
setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
Set the message driven context for JMS
|
public void setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx)
setMessageDrivenContext
in interface javax.ejb.MessageDrivenBean
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbRemove()
ejbRemove
in interface javax.ejb.MessageDrivenBean
public void onMessage(javax.jms.Message msg)
onMessage
in interface javax.jms.MessageListener