Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-632

[AMQP] RFE: Add ability to accept/refuse a message based on 'user-id' property

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Minor
    • None
    • A-MQ 7.0.0.ER18
    • None
    • Documentation (Ref Guide, User Guide, etc.)

    Description

      Add ability for AMQ7 broker to refuse message based on 'user-id' property.

       /var/dtests/node_data/clients/aac0_sender  --log-msgs dict --broker admin:admin@<qpid-host>:5672 --connection-options "{  sasl_mechanisms : 'PLAIN', protocol : 'amqp1.0' }" --address 'lalaQ;{create:always}' --count 1  --msg-subject "SUBJECT" --msg-content-type "Stream" --msg-user-id lala
      {'redelivered': False, 'reply_to': None, 'subject': 'SUBJECT', 'content_type': 'Stream', 'id': None, 'user_id': 'lala', 'correlation_id': None, 'priority': 0, 'durable': False, 'ttl': 0.000000e+00, 'size': None, 'properties': {}, 'content': None}
      Link detached by peer with amqp:not-allowed: Authenticated user id is admin@QPID but user id in message declared as lala (/builddir/build/BUILD/qpid-cpp-0.34/src/qpid/broker/amqp/Incoming.cpp:87)
      
      /var/dtests/node_data/clients/aac0_sender  --log-msgs dict --broker admin:admin@<amq7-host>:5672 --connection-options "{  sasl_mechanisms : 'PLAIN', protocol : 'amqp1.0' }" --address lalaQ --count 1  --msg-subject "SUBJECT" --msg-content-type "Stream" --msg-user-id lala
      {'redelivered': False, 'reply_to': None, 'subject': 'SUBJECT', 'content_type': 'Stream', 'id': None, 'user_id': 'lala', 'correlation_id': None, 'priority': 0, 'durable': False, 'ttl': 0.000000e+00, 'size': None, 'properties': {}, 'content': None}
      

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            mtoth@redhat.com Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: