org.apache.axis2.transport.jms
Class SimpleJMSWorker

java.lang.Object
  extended byorg.apache.axis2.transport.jms.SimpleJMSWorker
All Implemented Interfaces:
Runnable

public class SimpleJMSWorker
extends Object
implements Runnable

SimpleJMSWorker is a worker thread that processes messages that are received by SimpleJMSListener. It creates a new message context, invokes the server, and sends back response msg to the replyTo destination.


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
SimpleJMSWorker(ConfigurationContext configurationContext, SimpleJMSListener listener, javax.jms.BytesMessage message)
           
 
Method Summary
static void processJMSRequest(MessageContext msgContext, InputStream in, String contentType)
           
 void run()
          This is where the incoming message is processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

SimpleJMSWorker

public SimpleJMSWorker(ConfigurationContext configurationContext,
                       SimpleJMSListener listener,
                       javax.jms.BytesMessage message)
Method Detail

processJMSRequest

public static void processJMSRequest(MessageContext msgContext,
                                     InputStream in,
                                     String contentType)
                              throws AxisFault
Throws:
AxisFault

run

public void run()
This is where the incoming message is processed.

Specified by:
run in interface Runnable