Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2919

Enforcing per-address TTL range

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ 7.7.0.CR1
    • None
    • amq-online
    • None

      At present, the address-setting expiry-delay allows setting a TTL if message has not already set it.

      However, when using the broker in a service offering, being able to enforce a TTL range for messages regardless of message TTL is necessary.

      Example:

      <address-setting match="myqueue">
        <min-expiry-delay>10</min-expiry-delay>
        <max-expiry-delay>100</max-expiry-delay>
      </address-setting>
      

      TTL of messages without TTL will be set to max-expiry-delay
      TTL of messages with TTL above max-expiry-delay will be set to max-expiry-delay
      TTL of messages with TTL below min-expiry-delay will be set to min-expiry-delay
      TTL of messages with TTL within min-expiry-delay and max-expiry-delay range will not be changed

            rhn-support-jbertram Justin Bertram
            lulf@redhat.com Ulf Lilleengen (Inactive)
            Tiago Bueno Tiago Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: