Interface SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
SjmsEndpointBuilderFactory.SjmsEndpointBuilder
- Enclosing interface:
- SjmsEndpointBuilderFactory
public static interface SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Simple JMS component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
acknowledgementMode(String acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
acknowledgementMode(SjmsEndpointBuilderFactory.SessionAcknowledgementType acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE.default SjmsEndpointBuilderFactory.AdvancedSjmsEndpointProducerBuilder
advanced()
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
namedReplyTo(String namedReplyTo)
Sets the reply to destination name used for InOut producer endpoints.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
persistent(boolean persistent)
Flag used to enable/disable message persistence.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
persistent(String persistent)
Flag used to enable/disable message persistence.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
producerCount(int producerCount)
Sets the number of producers used for this endpoint.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
producerCount(String producerCount)
Sets the number of producers used for this endpoint.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
transactionCommitStrategy(Object transactionCommitStrategy)
Sets the commit strategy.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
transactionCommitStrategy(String transactionCommitStrategy)
Sets the commit strategy.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
ttl(long ttl)
Flag used to adjust the Time To Live value of produced messages.default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder
ttl(String ttl)
Flag used to adjust the Time To Live value of produced messages.
-
-
-
Method Detail
-
advanced
default SjmsEndpointBuilderFactory.AdvancedSjmsEndpointProducerBuilder advanced()
-
acknowledgementMode
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder acknowledgementMode(SjmsEndpointBuilderFactory.SessionAcknowledgementType acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE. The option is a:org.apache.camel.component.sjms.jms.SessionAcknowledgementType
type. Default: AUTO_ACKNOWLEDGE Group: common
-
acknowledgementMode
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder acknowledgementMode(String acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE. The option will be converted to aorg.apache.camel.component.sjms.jms.SessionAcknowledgementType
type. Default: AUTO_ACKNOWLEDGE Group: common
-
lazyStartProducer
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
namedReplyTo
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder namedReplyTo(String namedReplyTo)
Sets the reply to destination name used for InOut producer endpoints. The type of the reply to destination can be determined by the starting prefix (topic: or queue:) in its name. The option is a:java.lang.String
type. Group: producer
-
persistent
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder persistent(boolean persistent)
Flag used to enable/disable message persistence. The option is a:boolean
type. Default: true Group: producer
-
persistent
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder persistent(String persistent)
Flag used to enable/disable message persistence. The option will be converted to aboolean
type. Default: true Group: producer
-
producerCount
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder producerCount(int producerCount)
Sets the number of producers used for this endpoint. The option is a:int
type. Default: 1 Group: producer
-
producerCount
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder producerCount(String producerCount)
Sets the number of producers used for this endpoint. The option will be converted to aint
type. Default: 1 Group: producer
-
ttl
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder ttl(long ttl)
Flag used to adjust the Time To Live value of produced messages. The option is a:long
type. Default: -1 Group: producer
-
ttl
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder ttl(String ttl)
Flag used to adjust the Time To Live value of produced messages. The option will be converted to along
type. Default: -1 Group: producer
-
transactionCommitStrategy
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder transactionCommitStrategy(Object transactionCommitStrategy)
Sets the commit strategy. The option is a:org.apache.camel.component.sjms.TransactionCommitStrategy
type. Group: transaction
-
transactionCommitStrategy
default SjmsEndpointBuilderFactory.SjmsEndpointProducerBuilder transactionCommitStrategy(String transactionCommitStrategy)
Sets the commit strategy. The option will be converted to aorg.apache.camel.component.sjms.TransactionCommitStrategy
type. Group: transaction
-
-