the definition
Declare a a way to aggregate message.
Declare a a way to aggregate message. The declaration is done with an object that implements the AggregateProps trait.
the type of the message pieces.
the possibility to add other steps to the current DSL.
Declares a type requirement in the route.
Declares a type requirement in the route. if the body type is incorrect, the system tries to convert the message body.
the required type.
the possibility to add other steps to the current DSL
Declares a static router.
Declares a static router. The routing conditions are declared inside a block using a specific DSL for the choice. The choice DSL contains two keywords : when and otherwise. When declares a subroute with a condition. Otherwise declare a subroute for messages that don't meet the conditions of the other When subroutes.
choice{ c => c.when(_.body == "1").endpoint("mock:output1") c.when(_.body == "2").endpoint("mock:output2") c.otherwise.endpoint("mock:output3") }
a function taking the routing DSL as a parameter and returning Unit.
the possibility to add other steps to the current DSL.
Declares a filter in the route.
Declares a filter in the route. If the condition of the predicate are not meet the routing of the current message is stopped.
if true the message continue the route
the possibility to add other steps to the current DSL
Declares a filter in the route.
Declares a filter in the route. If the condition of the predicate are not meet the routing of the current message is stopped.
taking a message and returning a boolean. (true if the message continue otherwise false)
the possibility to add other steps to the current DSL
Adds a filter to the route with a predicate.
Adds a filter to the route with a predicate. If the condition of the predicate are not meet the routing of the current message is stopped.
taking a message body and returning a boolean. (true if the message continue otherwise false)
the main DSL
Declares a multicast in the route.
Declares a multicast in the route. A multicast routes the same message to multiple endpoints.
the native type of the endpoints.
the endpoints.
a way to convert the native type of the endpoints to sinks.
the possibility to add other steps to the current DSL.
declares a default subroute if no other subroute handle a message.
declares a default subroute if no other subroute handle a message.
the possibility to add other steps to the current DSL
Declares a transformation of the message in the route with a function.
Declares a transformation of the message in the route with a function.
the type of the message if the body changed
the function
the possibility to add other steps to the current DSL
Declares a transformation of the message body in the route with a function.
Declares a transformation of the message body in the route with a function.
the output type of the function
the function
the possibility to add other steps to the current DSL
Declares a type requirement in the route.
Declares a type requirement in the route. if the type is incorrect an exception is thrown.
the required type.
the possibility to add other steps to the current DSL
Declare a message splitter or a way to split a message body in pieces.
Declare a message splitter or a way to split a message body in pieces.
the type of the message pieces.
used to split the message.
the possibility to add other steps to the current DSL.
Declare a message splitter or a way to split a message body in pieces.
Declare a message splitter or a way to split a message body in pieces.
the type of the message pieces.
the function used to split the message. It takes the message and returns an Iterator of the pieces.
the possibility to add other steps to the current DSL.
Declare a message splitter or a way to split a message body in pieces.
Declare a message splitter or a way to split a message body in pieces.
the type of the message pieces.
the function used to split the body. It takes the body message and returns an Iterator of the pieces.
the possibility to add other steps to the current DSL.
the definition.
the definition.
Declares an output for the route and defines incoming messages should require an answer or not.
Declares an output for the route and defines incoming messages should require an answer or not.
the type of the output
a sink object
an output.
is true if the sender expects an answer.
an object to route output (sink).
the possibility to add other steps to the current DSL
Declares an output for the route.
Declares an output for the route.
the type of the output
a sink object
an output.
an object to route output (sink).
the possibility to add other steps to the current DSL
declares a possible subroute in the routing.
declares a possible subroute in the routing.
if true the message go through the subroute.
the possibility to add other steps to the current DSL
declares a possible subroute in the routing.
declares a possible subroute in the routing.
a function taking a message returning a boolean. if true the message go through the subroute.
the possibility to add other steps to the current DSL
declares a possible subroute in the routing.
declares a possible subroute in the routing.
a function taking a message body returning a boolean. if true the message go through the subroute.
the base dsl.
A specific DSL for a choice block.
the body type of the input message.