|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.webservice.transport.jms.JMSTransportSupport
The abstract base class for MDBs that want to act as web service endpoints. A subclass should only need to implement the service endpoint interface.
Field Summary | |
protected org.jboss.logging.Logger |
log
|
Constructor Summary | |
JMSTransportSupport()
|
Method Summary | |
void |
ejbCreate()
|
void |
ejbRemove()
A container invokes this method before it ends the life of the message-driven object. |
protected org.apache.axis.server.AxisServer |
getAxisServer()
Get the JBossWS installed Axis sever. |
protected javax.jms.Queue |
getReplyQueue(javax.jms.BytesMessage message)
Get the reply queue. |
protected String |
getServiceName()
Return the service name for this MDB |
void |
onMessage(javax.jms.Message message)
All messages come in here, if it is a BytesMessage we pass it on for further processing. |
protected void |
processSOAPMessage(javax.jms.BytesMessage message)
Read the SOAP message and pass it on to Axis. |
protected void |
sendResponse(javax.jms.Queue replyQueue,
org.apache.axis.Message axisResponse)
Respond to the call by sending a message to the reply queue |
void |
setMessageDrivenContext(javax.ejb.MessageDrivenContext 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 org.jboss.logging.Logger log
Constructor Detail |
public JMSTransportSupport()
Method Detail |
protected org.apache.axis.server.AxisServer getAxisServer()
protected String getServiceName()
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
protected void processSOAPMessage(javax.jms.BytesMessage message) throws Exception
Exception
protected javax.jms.Queue getReplyQueue(javax.jms.BytesMessage message) throws javax.jms.JMSException
javax.jms.JMSException
protected void sendResponse(javax.jms.Queue replyQueue, org.apache.axis.Message axisResponse) throws javax.xml.soap.SOAPException, IOException, javax.jms.JMSException
javax.xml.soap.SOAPException
IOException
javax.jms.JMSException
public void ejbCreate()
public void ejbRemove() throws javax.ejb.EJBException
ejbRemove
in interface javax.ejb.MessageDrivenBean
javax.ejb.EJBException
public void setMessageDrivenContext(javax.ejb.MessageDrivenContext ctx) throws javax.ejb.EJBException
setMessageDrivenContext
in interface javax.ejb.MessageDrivenBean
javax.ejb.EJBException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |