JGroups

JGroups

Scheme: jgroups
Syntax: jgroups:clusterName
Description: The jgroups component provides exchange of messages between Camel and JGroups clusters.
Deprecated:false
Async:false
Maven: org.apache.camel/camel-jgroups/2.18.1.redhat-000035

The jgroups component provides exchange of messages between Camel and JGroups clusters.

Name Kind Group Required Default Type Enum Description
clusterName path common true java.lang.String The name of the JGroups cluster the component should connect to.
channelProperties parameter common java.lang.String Specifies configuration properties of the JChannel used by the endpoint.
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
enableViewMessages parameter consumer boolean If set to true, the consumer endpoint will receive org.jgroups.View messages as well (not only org.jgroups.Message instances). By default only regular messages are consumed by the endpoint.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates 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).

jgroups consumer

Consumes messages from the JGroups channels ({@code org.jgroups.Channel}). Received messages ({@code org.jgroups.Message}) are routed to Camel as the body of {@link org.apache.camel.Exchange}.