A JMS Endpoint
Name | Kind | Type | Required | Deprecated | Default Value | Enum Values | Description |
---|---|---|---|---|---|---|---|
destinationType | path | java.lang.String | false | queue topic |
|||
destinationName | path | java.lang.String | true | false | DestinationName is a JMS queue or topic name. By default, the destinationName is interpreted as a queue name. | ||
synchronous | parameter | boolean | false | true | Flag can be set to enable/disable synchronous exchange processing. @param synchronous true to process synchronously, default is true | ||
transacted | parameter | boolean | false | Enable/disable flag for transactions @param transacted true if transacted, otherwise false | |||
namedReplyTo | parameter | java.lang.String | false | Sets the reply to destination name used for InOut producer endpoints. @param namedReplyTo the JMS reply to destination name | |||
acknowledgementMode | parameter | org.apache.camel.component.sjms.jms.SessionAcknowledgementType | false | AUTO_ACKNOWLEDGE | AUTO_ACKNOWLEDGE CLIENT_ACKNOWLEDGE DUPS_OK_ACKNOWLEDGE SESSION_TRANSACTED |
Sets the acknowledgementMode configured on this endpoint. @param acknowledgementMode default is SessionAcknowledgementType.AUTO_ACKNOWLEDGE | |
sessionCount | parameter | int | false | 1 | Sets the number of Session instances used for this endpoint. Value is ignored for endpoints that require a dedicated session such as a transacted or InOut endpoint. @param sessionCount the number of Session instances, default is 1 | ||
producerCount | parameter | int | false | 1 | Sets the number of producers used for this endpoint. @param producerCount the number of producers for this endpoint, default is 1 | ||
consumerCount | parameter | int | false | 1 | Sets the number of consumer listeners used for this endpoint. @param consumerCount the number of consumers for this endpoint, default is 1 | ||
ttl | parameter | long | false | -1 | Flag used to adjust the Time To Live value of produced messages. @param ttl a new TTL, default is -1 (disabled) | ||
persistent | parameter | boolean | false | true | Flag used to enable/disable message persistence. @param persistent true if persistent, default is true | ||
durableSubscriptionId | parameter | java.lang.String | false | Sets the durable subscription Id required for durable topics. @param durableSubscriptionId durable subscription Id or null | |||
responseTimeOut | parameter | long | false | 5000 | Sets the amount of time we should wait before timing out a InOut response. @param responseTimeOut response timeout | ||
messageSelector | parameter | java.lang.String | false | Sets the JMS Message selector syntax. @param messageSelector Message selector syntax or null | |||
transactionBatchCount | parameter | int | false | -1 | If transacted sets the number of messages to process before committing a transaction. @param transactionBatchCount number of messages to process before committing, default is 1 | ||
transactionBatchTimeout | parameter | long | false | 5000 | Sets timeout value for batch transactions. @param transactionBatchTimeout | ||
asyncStartListener | parameter | boolean | false | ||||
asyncStopListener | parameter | boolean | false | ||||
prefillPool | parameter | boolean | false | true | |||
allowNullBody | parameter | boolean | false | true | |||
transactionCommitStrategy | parameter | org.apache.camel.component.sjms.TransactionCommitStrategy | false | Sets the commit strategy. @param transactionCommitStrategy commit strategy to use when processing transacted messages | |||
destinationCreationStrategy | parameter | org.apache.camel.component.sjms.jms.DestinationCreationStrategy | false | ||||
exchangePattern | parameter | org.apache.camel.ExchangePattern | false | InOnly | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange |
The SjmsConsumer is the base class for the SJMS MessageListener pool.