org.apache.servicemix.jms
Class AbstractJmsProcessor
java.lang.Object
org.apache.servicemix.jms.AbstractJmsProcessor
- All Implemented Interfaces:
- SoapExchangeProcessor
- Direct Known Subclasses:
- JcaConsumerProcessor, JcaProviderProcessor, MultiplexingConsumerProcessor, MultiplexingProviderProcessor, StandardConsumerProcessor, StandardProviderProcessor
public abstract class AbstractJmsProcessor
- extends java.lang.Object
- implements SoapExchangeProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.slf4j.Logger logger
STYLE_QUEUE
public static final java.lang.String STYLE_QUEUE
- See Also:
- Constant Field Values
STYLE_TOPIC
public static final java.lang.String STYLE_TOPIC
- See Also:
- Constant Field Values
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
- See Also:
- Constant Field Values
endpoint
protected JmsEndpoint endpoint
connection
protected javax.jms.Connection connection
soapHelper
protected SoapHelper soapHelper
context
protected javax.jbi.component.ComponentContext context
channel
protected javax.jbi.messaging.DeliveryChannel channel
session
protected javax.jms.Session session
destination
protected javax.jms.Destination destination
replyToDestination
protected javax.jms.Destination replyToDestination
store
protected org.apache.servicemix.store.Store store
AbstractJmsProcessor
public AbstractJmsProcessor(JmsEndpoint endpoint)
throws java.lang.Exception
- Throws:
java.lang.Exception
commonDoStartTasks
protected void commonDoStartTasks(javax.naming.InitialContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
getConnectionFactory
protected javax.jms.ConnectionFactory getConnectionFactory(javax.naming.InitialContext ctx)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getInitialContext
protected javax.naming.InitialContext getInitialContext()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
getStore
protected org.apache.servicemix.store.Store getStore()
init
public void init()
throws java.lang.Exception
- Specified by:
init in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
doInit
protected void doInit(javax.naming.InitialContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
doStart
protected void doStart()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
doStop
protected void doStop()
throws java.lang.Exception
- Throws:
java.lang.Exception
shutdown
public void shutdown()
throws java.lang.Exception
- Specified by:
shutdown in interface SoapExchangeProcessor
- Throws:
java.lang.Exception
doShutdown
protected void doShutdown()
throws java.lang.Exception
- Throws:
java.lang.Exception
createContext
protected Context createContext()
fromNMS
protected javax.jms.Message fromNMS(javax.jbi.messaging.NormalizedMessage nm,
javax.jms.Session session)
throws java.lang.Exception
- Throws:
java.lang.Exception
toNMS
protected javax.jbi.messaging.MessageExchange toNMS(javax.jms.Message message,
Context ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
fromNMSResponse
protected javax.jms.Message fromNMSResponse(javax.jbi.messaging.MessageExchange exchange,
Context ctx,
javax.jms.Session session)
throws java.lang.Exception
- Throws:
java.lang.Exception
createMessageFromExchange
protected javax.jms.Message createMessageFromExchange(javax.jms.Session session,
javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005-2014 FuseSource. All Rights Reserved.