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

Doc: Enforcing per-address TTL range

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ 7.7.0.GA
    • None
    • documentation
    • 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

              jbyrne@redhat.com John Byrne (Inactive)
              jbyrne@redhat.com John Byrne (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: