...
| Name |
Default Value |
Description |
| channelProperties |
null |
Camel 2.10.0: Specifies configuration properties of the JChannel used by the endpoint. |
enableViewMessages |
false |
Camel 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. |
| Header |
Constant |
Since version |
Description |
JGROUPS_ORIGINAL_MESSAGE |
JGroupsEndpoint.HEADER_JGROUPS_ORIGINAL_MESSAGE |
2.13.0 |
The original org.jgroups.Message instance from which the body of the consumed message has been extracted. |
JGROUPS_SRC |
JGroupsEndpoint.HEADER_JGROUPS_SRC |
2.10.0 |
The org.jgroups.Address instance extracted by org.jgroups.Message.getSrc() method of the consumed message. |
JGROUPS_DEST |
JGroupsEndpoint.HEADER_JGROUPS_DEST |
2.10.0 |
The org.jgroups.Address instance extracted by org.jgroups.Message.getDest() method of the consumed message. |
JGROUPS_CHANNEL_ADDRESS |
JGroupsEndpoint.HEADER_JGROUPS_CHANNEL_ADDRESS |
2.13.0 |
Address (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.
...