public class InOutProducer extends SjmsProducer
| Modifier and Type | Class and Description |
|---|---|
protected class |
InOutProducer.InternalTempDestinationListener |
protected class |
InOutProducer.MessageConsumerPool
A pool of
InOutProducer.MessageConsumerResource objects that are the reply
consumers. |
protected class |
InOutProducer.MessageConsumerResource
TODO Add Class documentation for MessageConsumerResource
|
SjmsProducer.MessageProducerPool, SjmsProducer.MessageProducerResources| Constructor and Description |
|---|
InOutProducer(SjmsEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
SjmsProducer.MessageProducerResources |
doCreateProducerModel() |
protected void |
doStart() |
protected void |
doStop() |
InOutProducer.MessageConsumerPool |
getConsumers() |
void |
sendMessage(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
TODO time out is actually double as it waits for the producer and then
waits for the response.
|
void |
setConsumers(InOutProducer.MessageConsumerPool consumers) |
getAcknowledgeMode, getCommitStrategy, getConnectionResource, getConsumerCount, getDestinationName, getExecutor, getNamedReplyTo, getProducerCount, getProducers, getReplyTo, getResponseTimeOut, getSjmsEndpoint, getTtl, isEndpointTransacted, isPersistent, isSynchronous, isTopic, process, setProducerscreateExchange, createExchange, createExchange, getEndpoint, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic InOutProducer(SjmsEndpoint endpoint)
protected void doStart()
throws Exception
doStart in class SjmsProducerExceptionprotected void doStop()
throws Exception
doStop in class SjmsProducerExceptionpublic SjmsProducer.MessageProducerResources doCreateProducerModel() throws Exception
doCreateProducerModel in class SjmsProducerExceptionpublic void sendMessage(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
throws Exception
sendMessage in class SjmsProducerexchange - callback - ExceptionSjmsProducer.sendMessage(org.apache.camel.Exchange,
org.apache.camel.AsyncCallback)public void setConsumers(InOutProducer.MessageConsumerPool consumers)
public InOutProducer.MessageConsumerPool getConsumers()
Apache Camel