Qpid
  1. Qpid
  2. QPID-3381

Allow the AMQP 0-10 routing key to be retrieved via the message properties

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14
    • Component/s: Java Client
    • Labels:
      None

      Description

      Some users have expressed their desire to figure out the routing key used for a particular message. Ex for debugging.
      We could use "x-amqp-0-10.routing-key" as a property name to retrieve this from the underlying message delegate.

      Please note "x-amqp-0-10.routing-key" is the same key used by the Qpid messaging API (implemented in C++, Python, C#, Perl..etc) to retrieve the routing key.

        Activity

        Hide
        Rajith Attapattu added a comment -

        Fixed with a test case.

        Show
        Rajith Attapattu added a comment - Fixed with a test case.
        Hide
        Keith Wall added a comment -

        Hi Rajith

        I think this commit has caused a test failure (java-mms.0-9-1). You can see the problem on Jenkins, but I'm seeing the same problem locally.

        https://builds.apache.org/view/M-R/view/Qpid/job/qpid-java-test-matrix/label=Ubuntu,profile=java-mms.0-9-1/lastCompletedBuild/testReport/

        Kind regards Keith.

        Show
        Keith Wall added a comment - Hi Rajith I think this commit has caused a test failure (java-mms.0-9-1). You can see the problem on Jenkins, but I'm seeing the same problem locally. https://builds.apache.org/view/M-R/view/Qpid/job/qpid-java-test-matrix/label=Ubuntu,profile=java-mms.0-9-1/lastCompletedBuild/testReport/ Kind regards Keith.
        Hide
        Robbie Gemmell added a comment -

        Hehe...I just posted on QPID-3377 about that

        Show
        Robbie Gemmell added a comment - Hehe...I just posted on QPID-3377 about that
        Hide
        Rajith Attapattu added a comment -

        I forgot to account for the method name change in the JavaPre010Excludes.
        I have since corrected this from r1153650.

        Apologies for the slip.

        Rajith

        Show
        Rajith Attapattu added a comment - I forgot to account for the method name change in the JavaPre010Excludes. I have since corrected this from r1153650. Apologies for the slip. Rajith

          People

          • Assignee:
            Rajith Attapattu
            Reporter:
            Rajith Attapattu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development