Uploaded image for project: 'AMQ Documentation'
  1. AMQ Documentation
  2. AMQDOC-2619

MessageTTL and ConsumerTTL options should be discussed in Network of Brokers Guide

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • 6.3
    • 6.3
    • Broker DOC
    • 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

            fbolton@redhat.com Fintan Bolton (Inactive)
            rhn-support-jsherman Jason Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: