Interface DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- DynamicRouterEndpointBuilderFactory
public static interface DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilderBuilder for endpoint for the Dynamic Router component.
-
-
Method Summary
-
-
-
Method Detail
-
recipientMode
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder recipientMode(String recipientMode)
Recipient mode: firstMatch or allMatch. The option is a: <code>java.lang.String</code> type. Default: firstMatch Group: common- Parameters:
recipientMode- the value to set- Returns:
- the dsl builder
-
synchronous
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder synchronous(boolean synchronous)
Flag to ensure synchronous processing. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
synchronous- the value to set- Returns:
- the dsl builder
-
synchronous
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder synchronous(String synchronous)
Flag to ensure synchronous processing. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
synchronous- the value to set- Returns:
- the dsl builder
-
warnDroppedMessage
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder warnDroppedMessage(boolean warnDroppedMessage)
Flag to log a warning if no predicates match for an exchange. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
warnDroppedMessage- the value to set- Returns:
- the dsl builder
-
warnDroppedMessage
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder warnDroppedMessage(String warnDroppedMessage)
Flag to log a warning if no predicates match for an exchange. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
warnDroppedMessage- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder 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: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder 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 a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
destinationUri
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder destinationUri(String destinationUri)
The destination URI for exchanges that match. The option is a: <code>java.lang.String</code> type. Group: control- Parameters:
destinationUri- the value to set- Returns:
- the dsl builder
-
expressionLanguage
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder expressionLanguage(String expressionLanguage)
The subscription predicate language. The option is a: <code>java.lang.String</code> type. Default: simple Group: control- Parameters:
expressionLanguage- the value to set- Returns:
- the dsl builder
-
predicate
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder predicate(String predicate)
The subscription predicate. The option is a: <code>java.lang.String</code> type. Group: control- Parameters:
predicate- the value to set- Returns:
- the dsl builder
-
predicateBean
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder predicateBean(org.apache.camel.Predicate predicateBean)
A Predicate instance in the registry. The option is a: <code>org.apache.camel.Predicate</code> type. Group: control- Parameters:
predicateBean- the value to set- Returns:
- the dsl builder
-
predicateBean
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder predicateBean(String predicateBean)
A Predicate instance in the registry. The option will be converted to a <code>org.apache.camel.Predicate</code> type. Group: control- Parameters:
predicateBean- the value to set- Returns:
- the dsl builder
-
priority
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder priority(Integer priority)
The subscription priority. The option is a: <code>java.lang.Integer</code> type. Group: control- Parameters:
priority- the value to set- Returns:
- the dsl builder
-
priority
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder priority(String priority)
The subscription priority. The option will be converted to a <code>java.lang.Integer</code> type. Group: control- Parameters:
priority- the value to set- Returns:
- the dsl builder
-
subscriptionId
default DynamicRouterEndpointBuilderFactory.DynamicRouterEndpointBuilder subscriptionId(String subscriptionId)
The subscription ID; if unspecified, one will be assigned and returned. The option is a: <code>java.lang.String</code> type. Group: control- Parameters:
subscriptionId- the value to set- Returns:
- the dsl builder
-
-