Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Default Value

Description

channelProperties

null

Camel 2.10.0: Specifies configuration properties of the JChannel used by the endpoint.

enableViewMessagesfalseCamel 2.13.0:  Consumer only. 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.

Headers

HeaderConstantSince versionDescription
JGROUPS_ORIGINAL_MESSAGEJGroupsEndpoint.HEADER_JGROUPS_ORIGINAL_MESSAGE2.13.0The original org.jgroups.Message instance from which the body of the consumed message has been extracted.
JGROUPS_SRCJGroupsEndpoint.HEADER_JGROUPS_SRC2.10.0The org.jgroups.Address instance extracted by org.jgroups.Message.getSrc() method of the consumed message.
JGROUPS_DESTJGroupsEndpoint.HEADER_JGROUPS_DEST2.10.0The org.jgroups.Address instance extracted by org.jgroups.Message.getDest() method of the consumed message.
JGROUPS_CHANNEL_ADDRESSJGroupsEndpoint.HEADER_JGROUPS_CHANNEL_ADDRESS2.13.0Address (org.jgroups.Address) of the channel associated with the endpoint.

 

Usage

Using jgroups component on the consumer side of the route will capture messages received by the JChannel associated with the endpoint and forward them to the Camel route. JGroups consumer processes incoming messages asynchronously.

...