Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-445

[cpp-win] Support intercepting rejection of sent messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.B1
    • 1.1.0-beta
    • legacy-amqp-cpp-client
    • Broker: A-MQ7-7.0.0.ER13-redhat-1 running on Rhel7-x86_64
      Client:
      qpid-cpp-win-3.34.18.0-amq built in MS VS2012 running on Windows Server2012 R2

    • January 2018

      User without "send" permition (nobody in this case) can send a message to the broker.

      Steps to reproduce:
      1. Configure the broker according to attached configuration.
      2. Create a queue (send a message under a user with permition to create a queue, f.e. admin)
      3. Try to send a message under a user without sending permission (nobody):

      Expected results:
      The message should not be delivered, SecurityException should be raised.

      Current results:
      The message is not delivered into the queue on the broker, error message is raised, but the client returns error code 0 without exceptions.

      Note:
      This issue occurs also with qpid-cpp client on Linux.
      The broker behaves as expected with qpid-jms and openwire-jms clients (nobody user cannot send messages, the exception is raised).
      Nobody user cannot send messages, but the broker hangs with python-qpid client.

              crolke@redhat.com Chuck Rolke (Inactive)
              psvobodo@redhat.com Petra Svobodova (Inactive)
              Radim Kubis Radim Kubis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: