Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4506

sendTextMessage() in JMX should support specifying timeToLive (like Camel / Spring-JMS) or JMSExpiration headers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 5.8.0
    • 5.9.0
    • None
    • None

    Description

      It would be nice to be able to send a message with a TTL via hawtio (http://hawt.io/) or any other JMX tool. Since its not a JMS API we don't have to follow the (slightly crap) JMS spec in relation to TTL / JMSExpiration so if a timeToLive or JMSExpiration header is specified we could actually use it, which would be great.

      Then sending TTL messages would be a nice easy way for folks to get stuff onto a DLQ when demoing/testing DLQ tooling in things like hawtio.

      e.g. this JMX Method:
      sendTextMessage(java.util.Map, java.lang.String, java.lang.String, java.lang.String)

      it'd be nice to look for timeToLive (say 1000 for 1 second TTL) or JMSExpiration (which is a timestamp based thing)

      Attachments

        Activity

          People

            dejanb Dejan Bosanac
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: