org.apache.axis2.transport.jms
Class SimpleJMSWorker
java.lang.Object
org.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleJMSWorker
public SimpleJMSWorker(ConfigurationContext configurationContext,
SimpleJMSListener listener,
javax.jms.BytesMessage message)
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