|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.impl.DefaultAsyncProducer
org.apache.camel.component.sjms.SjmsProducer
public abstract class SjmsProducer
Base SjmsProducer class.
| Nested Class Summary | |
|---|---|
protected class |
SjmsProducer.MessageProducerPool
The SjmsProducer.MessageProducerResources pool for all SjmsProducer
classes. |
protected class |
SjmsProducer.MessageProducerResources
The MessageProducer resources for all SjmsProducer
classes. |
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.impl.DefaultProducer |
|---|
log |
| Fields inherited from class org.apache.camel.support.ServiceSupport |
|---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
| Constructor Summary | |
|---|---|
SjmsProducer(org.apache.camel.Endpoint endpoint)
|
|
| Method Summary | |
|---|---|
abstract SjmsProducer.MessageProducerResources |
doCreateProducerModel()
|
protected void |
doStart()
|
protected void |
doStop()
|
int |
getAcknowledgeMode()
Gets the acknowledgment mode for this instance of DestinationProducer. |
TransactionCommitStrategy |
getCommitStrategy()
Gets commitStrategy for this instance of SjmsProducer. |
protected ConnectionResource |
getConnectionResource()
|
int |
getConsumerCount()
Gets consumerCount for this instance of SjmsProducer. |
String |
getDestinationName()
Gets the destinationName for this instance of DestinationProducer. |
ExecutorService |
getExecutor()
Gets the executor for this instance of SjmsProducer. |
String |
getNamedReplyTo()
Returns the named reply to value for this producer |
int |
getProducerCount()
Gets the producerCount for this instance of SjmsProducer. |
SjmsProducer.MessageProducerPool |
getProducers()
Gets the MessageProducerPool value of producers for this instance of SjmsProducer. |
String |
getReplyTo()
Gets the replyTo for this instance of DestinationProducer. |
long |
getResponseTimeOut()
Gets responseTimeOut for this instance of SjmsProducer. |
protected SjmsEndpoint |
getSjmsEndpoint()
|
long |
getTtl()
Gets the ttl for this instance of SjmsProducer. |
boolean |
isEndpointTransacted()
Test to determine if this endpoint should use a JMS Transaction. |
boolean |
isPersistent()
Gets the boolean value of persistent for this instance of SjmsProducer. |
boolean |
isSynchronous()
Gets the synchronous value for this instance of DestinationProducer. |
boolean |
isTopic()
Test to verify if this endpoint is a JMS Topic or Queue. |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
|
abstract void |
sendMessage(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
|
void |
setProducers(SjmsProducer.MessageProducerPool producers)
Sets the producer pool for this instance of SjmsProducer. |
| Methods inherited from class org.apache.camel.impl.DefaultAsyncProducer |
|---|
process |
| Methods inherited from class org.apache.camel.impl.DefaultProducer |
|---|
createExchange, createExchange, createExchange, getEndpoint, isSingleton, toString |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public SjmsProducer(org.apache.camel.Endpoint endpoint)
| Method Detail |
|---|
protected void doStart()
throws Exception
doStart in class org.apache.camel.impl.DefaultProducerException
protected void doStop()
throws Exception
doStop in class org.apache.camel.impl.DefaultProducerException
public abstract SjmsProducer.MessageProducerResources doCreateProducerModel()
throws Exception
Exception
public abstract void sendMessage(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
throws Exception
Exception
public boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
protected SjmsEndpoint getSjmsEndpoint()
protected ConnectionResource getConnectionResource()
public int getAcknowledgeMode()
public boolean isSynchronous()
public String getReplyTo()
public String getDestinationName()
public void setProducers(SjmsProducer.MessageProducerPool producers)
producers - A MessageProducerPoolpublic SjmsProducer.MessageProducerPool getProducers()
public boolean isTopic()
public boolean isEndpointTransacted()
public String getNamedReplyTo()
public int getProducerCount()
public int getConsumerCount()
public ExecutorService getExecutor()
public long getTtl()
public boolean isPersistent()
public long getResponseTimeOut()
public TransactionCommitStrategy getCommitStrategy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||