public class JMSListenerBean
extends java.lang.Object
implements javax.ejb.MessageDrivenBean, javax.jms.MessageListener
Constructor and Description |
---|
JMSListenerBean() |
Modifier and Type | Method and Description |
---|---|
void |
ejbCreate() |
void |
ejbRemove() |
void |
onMessage(javax.jms.Message msg) |
void |
setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx) |
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