JGroups

JGroups

Description: Component providing support for messages multicasted from- or to JGroups channels (org.jgroups.Channel).
Scheme: jgroups
Syntax: jgroups:clusterName
Maven: org.apache.camel/camel-jgroups/2.16.1
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.
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.
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).

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}.