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

Broker can't handle map message sent by proton clients

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • A-MQ 7.0.0.GA
    • None
    • None
    • None
    • Hide

      1. sent a map message using a supported proton client, ie:
      a) Qpid Messaging C++:

      1. ./aac0_sender -b "localhost:5672" -a "jms.queue.aac5" --log-msgs dict --msg-content-map-item "string=1" --connection-options {protocol:amqp1.0}

        b) Proton Python:

      2. ./aac5_sender.py -b localhost:5672/jms.queue.aac5 --log-msg dict --msg-content-map-item "string=1"
        2.
        a) Qpid Messaging C++: javax.jms.MessageFormatException: class org.apache.qpid.proton.amqp.Binary is not a valid property type
        b) Proton Python: java.lang.ClassCastException: org.apache.qpid.proton.amqp.Binary cannot be cast to java.lang.String
      Show
      1. sent a map message using a supported proton client, ie: a) Qpid Messaging C++: ./aac0_sender -b "localhost:5672" -a "jms.queue.aac5" --log-msgs dict --msg-content-map-item "string=1" --connection-options {protocol:amqp1.0} b) Proton Python: ./aac5_sender.py -b localhost:5672/jms.queue.aac5 --log-msg dict --msg-content-map-item "string=1" 2. a) Qpid Messaging C++: javax.jms.MessageFormatException: class org.apache.qpid.proton.amqp.Binary is not a valid property type b) Proton Python: java.lang.ClassCastException: org.apache.qpid.proton.amqp.Binary cannot be cast to java.lang.String

      A-MQ7 Broker can't receive a map message sent by supported proton clients (Proton Python and Qpid Messaging C++).

      Using python client the client seems to be hanged (stack trace attached).
      C++ clients exits with following warning: [Messaging] warning delivery 0 was rejected by peer

      Please see attached broker and client logs for details.

        1. broker_cpp_cli.log
          5 kB
        2. broker_python_cli.log
          5 kB
        3. cpp_cli_map_message.log
          5 kB
        4. py_cli_map_message.log
          3 kB
        5. py_cli_stack_trace.txt
          4 kB

            rh-ee-ataylor Andy Taylor
            pematous Petr Matousek
            Petr Matousek Petr Matousek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: