Binding

Binding

Description: The Binding Component is for composing a Camel component with a Camel data-format as a single binding unit.
Scheme: binding
Syntax: binding:bindingName:delegateUri
Maven: org.apache.camel/camel-core/2.16.1

Applies a {@link org.apache.camel.spi.Binding} to an underlying {@link Endpoint} so that the binding processes messages before its sent to the endpoint and processes messages received by the endpoint consumer before its passed to the real consumer.

Name Kind Group Required Default Type Enum Description
bindingName path common true java.lang.String Name of the binding to lookup in the Camel registry.
delegateUri path common true java.lang.String Uri of the delegate endpoint.
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange.
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). @param synchronous true to enforce synchronous processing

binding consumer

Applies a {@link org.apache.camel.spi.Binding} to a consumer