Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7159

[Java Client] Disabling user ids in AMQP messages

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The AMQP 0-10 JMS client seems to always attach the user-id message property to the AMQP message.

      In some cases, I don't think this is desired. For example when I send messages to my customers, I do not really want them to know which other users exist on the broker and are used to send messages.

      It would be great to have a possibility to disable the user-id when needed.

      The attached patch disables the user id in the BasicMessageProducer based on a system property qpid.attach_user_id (true/false). Does that look like a reasonable solution? If yes, I can try to add some tests.

      Attachments

        1. QPID-7159.patch
          1 kB
          Jakub Scholz
        2. QPID-7159-Add-system-test.diff
          4 kB
          Alex Rudyy
        3. QPID-7159-conn-option.patch
          3 kB
          Jakub Scholz
        4. QPID-7159-rename-parameter-into-populateJMSXUserID.diff
          5 kB
          Alex Rudyy

        Issue Links

          Activity

            People

              kwall Keith Wall
              scholzj Jakub Scholz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: