|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webservice.transport.jms.DelegatingMessageDrivenBean
A basic MDB that delegates to an already insalled service.
Field Summary | |
protected Logger (src) |
log
|
Constructor Summary | |
DelegatingMessageDrivenBean()
|
Method Summary | |
void |
ejbCreate()
|
void |
ejbRemove()
A container invokes this method before it ends the life of the message-driven object. |
protected AxisServer (src) |
getAxisServer()
Get the JBossWS installed Axis sever. |
protected Queue (src) |
getReplyQueue(BytesMessage (src) message)
Get the reply queue. |
void |
onMessage(Message (src) message)
All messages come in here, if it is a BytesMessage we pass it on for further processing. |
protected void |
processSOAPMessage(BytesMessage (src) message)
Read the SOAP message and pass it on to Axis. |
protected void |
sendResponse(Queue (src) replyQueue,
Message (src) axisResponse)
Respond to the call by sending a message to the reply queue |
void |
setMessageDrivenContext(MessageDrivenContext (src) ctx)
Set the associated message-driven context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Logger (src) log
Constructor Detail |
public DelegatingMessageDrivenBean()
Method Detail |
protected AxisServer (src) getAxisServer()
public void onMessage(Message (src) message)
onMessage
in interface MessageListener (src)
message
- the message passed to the listenerprotected void processSOAPMessage(BytesMessage (src) message) throws java.lang.Exception
java.lang.Exception
protected Queue (src) getReplyQueue(BytesMessage (src) message) throws JMSException (src)
JMSException (src)
protected void sendResponse(Queue (src) replyQueue, Message (src) axisResponse) throws SOAPException (src) , java.io.IOException, JMSException (src)
SOAPException (src)
java.io.IOException
JMSException (src)
public void ejbCreate()
public void ejbRemove() throws EJBException (src)
ejbRemove
in interface MessageDrivenBean (src)
EJBException (src)
- - Thrown by the method to indicate a failure caused by a system-level error.public void setMessageDrivenContext(MessageDrivenContext (src) ctx) throws EJBException (src)
setMessageDrivenContext
in interface MessageDrivenBean (src)
ctx
- - A MessageDrivenContext interface for the instance.
EJBException (src)
- - Thrown by the method to indicate a failure caused by a system-level error.
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |