org.apache.servicemix.jms.jca
Class JcaConsumerProcessor
java.lang.Object
org.apache.servicemix.jms.AbstractJmsProcessor
org.apache.servicemix.jms.jca.JcaConsumerProcessor
- All Implemented Interfaces:
- javax.jms.MessageListener, SoapExchangeProcessor
public class JcaConsumerProcessor
- extends AbstractJmsProcessor
- implements javax.jms.MessageListener
- Author:
- Guillaume Nodet
| Fields inherited from class org.apache.servicemix.jms.AbstractJmsProcessor |
channel, connection, CONTENT_TYPE, context, destination, endpoint, replyToDestination, session, soapHelper, store, STYLE_QUEUE, STYLE_TOPIC |
|
Method Summary |
void |
onMessage(javax.jms.Message message)
|
void |
process(javax.jbi.messaging.MessageExchange exchange)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class org.apache.servicemix.jms.AbstractJmsProcessor |
commonDoStartTasks, createContext, createMessageFromExchange, doInit, doShutdown, doStart, doStop, fromNMS, fromNMSResponse, getConnectionFactory, getInitialContext, getStore, init, shutdown, toNMS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pendingMessages
protected java.util.Map pendingMessages
resourceAdapter
protected javax.resource.spi.ResourceAdapter resourceAdapter
endpointFactory
protected javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory
activationSpec
protected javax.resource.spi.ActivationSpec activationSpec
bootstrapContext
protected javax.resource.spi.BootstrapContext bootstrapContext
transactionManager
protected javax.transaction.TransactionManager transactionManager
connectionFactory
protected javax.jms.ConnectionFactory connectionFactory
JcaConsumerProcessor
public JcaConsumerProcessor(JmsEndpoint endpoint)
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface SoapExchangeProcessor- Overrides:
start in class AbstractJmsProcessor
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface SoapExchangeProcessor- Overrides:
stop in class AbstractJmsProcessor
- Throws:
java.lang.Exception
onMessage
public void onMessage(javax.jms.Message message)
- Specified by:
onMessage in interface javax.jms.MessageListener
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
- Specified by:
process in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
Copyright © 2005-2014 FuseSource. All Rights Reserved.