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

properties are translated so DOT:s can't be used as the key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 5.15.9
    • None
    • Camel
    • None
    • Windows 10, Java11

    Description

      I use activemq with camel. In order to use the retain-feature i do this in my message exchange:

      ex.getIn().setHeader("ActiveMQ.Retain", "true");

      This property is read in  RetainedMessageSubscriptionRecoveryPolicy. Unfortunately the property-key is translated to "ActiveMQ.DOT.Retain" (so the retain-feature can't be used). A workaround is to do this on the endpoint: mqttEp.setJmsKeyFormatStrategy(new PassThroughJmsKeyFormatStrategy());

      Attachments

        Activity

          People

            Unassigned Unassigned
            mtmmtm Magnus Persson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: