protected class MultiConsumerJmsMessageReceiver.JmsWorker extends AbstractReceiverWorker
endpoint, messages, out, receiver
Constructor and Description |
---|
MultiConsumerJmsMessageReceiver.JmsWorker(Message message,
AbstractMessageReceiver receiver,
MultiConsumerJmsMessageReceiver.SubReceiver subReceiver) |
Modifier and Type | Method and Description |
---|---|
protected void |
bindTransaction(Transaction tx)
Template method used to bind the resources of this receiver to the transaction.
|
protected Object |
preProcessMessage(Object message)
Before a message is passed into Mule this callback is called and can be used by the worker to inspect the
message before it gets sent to Mule
|
doRun, handleEventResults, handleResults, postProcessMessage, preRouteMuleMessage, processMessages, release, run
public MultiConsumerJmsMessageReceiver.JmsWorker(Message message, AbstractMessageReceiver receiver, MultiConsumerJmsMessageReceiver.SubReceiver subReceiver)
protected Object preProcessMessage(Object message) throws Exception
AbstractReceiverWorker
preProcessMessage
in class AbstractReceiverWorker
message
- the next message to be processedException
protected void bindTransaction(Transaction tx) throws TransactionException
AbstractReceiverWorker
bindTransaction
in class AbstractReceiverWorker
tx
- the current transaction or null if there is no transactionTransactionException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.