Interface Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
Sjms2EndpointBuilderFactory.Sjms2EndpointBuilder
- Enclosing interface:
- Sjms2EndpointBuilderFactory
public static interface Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Simple JMS2 component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
acknowledgementMode(String acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
acknowledgementMode(Sjms2EndpointBuilderFactory.SessionAcknowledgementType acknowledgementMode)
The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE.default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder
advanced()
default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
namedReplyTo(String namedReplyTo)
Sets the reply to destination name used for InOut producer endpoints.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
persistent(boolean persistent)
Flag used to enable/disable message persistence.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
persistent(String persistent)
Flag used to enable/disable message persistence.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
producerCount(int producerCount)
Sets the number of producers used for this endpoint.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
producerCount(String producerCount)
Sets the number of producers used for this endpoint.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
transactionCommitStrategy(Object transactionCommitStrategy)
Sets the commit strategy.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
transactionCommitStrategy(String transactionCommitStrategy)
Sets the commit strategy.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
ttl(long ttl)
Flag used to adjust the Time To Live value of produced messages.default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder
ttl(String ttl)
Flag used to adjust the Time To Live value of produced messages.
-
-
-
Method Detail
-
advanced
default Sjms2EndpointBuilderFactory.AdvancedSjms2EndpointProducerBuilder advanced()
-
acknowledgementMode
default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder acknowledgementMode(Sjms2EndpointBuilderFactory.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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder 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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder 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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder 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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder 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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder persistent(boolean persistent)
Flag used to enable/disable message persistence. The option is a:boolean
type. Default: true Group: producer
-
persistent
default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder persistent(String persistent)
Flag used to enable/disable message persistence. The option will be converted to aboolean
type. Default: true Group: producer
-
producerCount
default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder producerCount(int producerCount)
Sets the number of producers used for this endpoint. The option is a:int
type. Default: 1 Group: producer
-
producerCount
default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder 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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder 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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder 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 Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder transactionCommitStrategy(Object transactionCommitStrategy)
Sets the commit strategy. The option is a:org.apache.camel.component.sjms.TransactionCommitStrategy
type. Group: transaction
-
transactionCommitStrategy
default Sjms2EndpointBuilderFactory.Sjms2EndpointProducerBuilder transactionCommitStrategy(String transactionCommitStrategy)
Sets the commit strategy. The option will be converted to aorg.apache.camel.component.sjms.TransactionCommitStrategy
type. Group: transaction
-
-