-
Enhancement
-
Resolution: Obsolete
-
Major
-
6.3
-
None
The Network of Brokers guide [1] only discusses networkTTL and does not mention the newer messageTTL and consumerTTL options. These options were added as of ActiveMQ 5.9 [2].
These options would be applicable to JBoss A-MQ 6.1 and later.
Gary mentioned the following in https://issues.apache.org/jira/browse/AMQ-4607 about these options:
networkTTL sets both consumerTTL and messageTTL
a value of -1 denotes infinite hops.
In a mesh, use consumerTTL=1, messageTTL=-1 to allow consumers to bounce around the mesh and messages to follow demand.
In a linear topology use networkTTL == length of network (as before)
[1] https://access.redhat.com/documentation/en-us/red_hat_jboss_a-mq/6.3/html-single/using_networks_of_brokers/
[2] http://activemq.apache.org/networks-of-brokers.html