public class InOutProducer extends SjmsProducer
| Modifier and Type | Class and Description |
|---|---|
protected class |
InOutProducer.MessageConsumerResourcesFactory
A pool of
MessageConsumerResources objects that are the reply consumers. |
SjmsProducer.CloseProducerCallback, SjmsProducer.MessageProducerResourcesFactory, SjmsProducer.ReleaseProducerCallback, SjmsProducer.ReturnProducerCallback| Constructor and Description |
|---|
InOutProducer(SjmsEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.spi.UuidGenerator |
getUuidGenerator() |
void |
sendMessage(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback,
MessageProducerResources producer,
SjmsProducer.ReleaseProducerCallback releaseProducerCallback)
TODO time out is actually double as it waits for the producer and then
waits for the response.
|
void |
setUuidGenerator(org.apache.camel.spi.UuidGenerator uuidGenerator) |
createSession, doCreateProducerModel, getAcknowledgeMode, getCommitStrategy, getConnectionResource, getConsumerCount, getDestinationName, getEndpoint, getExecutor, getNamedReplyTo, getOrCreateConnectionResource, getProducerCount, getProducers, getReplyTo, getResponseTimeOut, getTtl, isEndpointTransacted, isPersistent, isSharedJMSSession, isSynchronous, isTopic, process, setProducerscreateExchange, createExchange, createExchange, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic InOutProducer(SjmsEndpoint endpoint)
public org.apache.camel.spi.UuidGenerator getUuidGenerator()
public void setUuidGenerator(org.apache.camel.spi.UuidGenerator uuidGenerator)
protected void doStart()
throws Exception
doStart in class SjmsProducerExceptionprotected void doStop()
throws Exception
doStop in class SjmsProducerExceptionpublic void sendMessage(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback,
MessageProducerResources producer,
SjmsProducer.ReleaseProducerCallback releaseProducerCallback)
throws Exception
sendMessage in class SjmsProducerExceptionApache Camel