RouteBox

RouteBox

Scheme: routebox
Name Kind Type Required Deprecated Default Value Enum Values Description
routeboxName path java.lang.String true false Logical name for the routebox (eg like a queue name)
dispatchStrategy parameter org.apache.camel.component.routebox.strategy.RouteboxDispatchStrategy false To use a custom RouteboxDispatchStrategy which allows to use custom dispatching instead of the default.
dispatchMap parameter java.util.Map false A string representing a key in the Camel Registry matching an object value of the type HashMap. The HashMap key should contain strings that can be matched against the value set for the exchange header ROUTE_DISPATCH_KEY. The HashMap value should contain inner route consumer URI's to which requests should be directed.
forkContext parameter boolean false true Whether to fork and create a new inner CamelContext instead of reusing the same CamelContext.
connectionTimeout parameter long false 20000 Timeout in millis used by the producer when sending a message.
pollInterval parameter long false 1000 The timeout used when polling from seda. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a lower value allows the consumer to react more quickly upon shutdown.
innerProtocol parameter java.lang.String false direct direct
seda
The Protocol used internally by the Routebox component. Can be Direct or SEDA. The Routebox component currently offers protocols that are JVM bound.
threads parameter int false 20 Number of threads to be used by the routebox to receive requests.
queueSize parameter int false Create a fixed size queue to receive requests.
sendToConsumer parameter boolean false true Dictates whether a Producer endpoint sends a request to an external routebox consumer. If the setting is false, the Producer creates an embedded inner context and processes requests internally.
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
synchronous parameter boolean false false Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

routebox consumer