| java.lang.Object org.apache.axis2.transport.jms.JMSMessageReceiver
JMSMessageReceiver | public class JMSMessageReceiver implements MessageListener(Code) | | This is the actual receiver which listens for and accepts JMS messages, and
hands them over to be processed by a worker thread. An instance of this
class is created for each JMSConnectionFactory, but all instances may and
will share the same worker thread pool.
|
Inner Class :class Worker implements Runnable | |
JMSMessageReceiver | JMSMessageReceiver(JMSConnectionFactory jmsConFac, Executor workerPool, ConfigurationContext axisConf)(Code) | | Create a new JMSMessage receiver
Parameters: jmsConFac - the JMS connection factory associated with Parameters: workerPool - the worker thead pool to be used Parameters: axisConf - the Axis2 configuration |
onMessage | public void onMessage(Message message)(Code) | | The entry point on the recepit of each JMS message
Parameters: message - the JMS message received |
setWorkerPool | public void setWorkerPool(Executor workerPool)(Code) | | Set the worker thread pool
Parameters: workerPool - the worker thead pool |
|
|