Uploaded image for project: 'A-MQ Broker'
  1. A-MQ Broker
  2. ENTMQBR-159

[Interoperability] List/Object message sent by OpenWire JMS client can't be consumed with other clients

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: A-MQ 7.0.0.ER7, A-MQ 7.0.0.ER12
    • Fix Version/s: A-MQ 7.0.0.ER14
    • Component/s: None
    • Target Release:
    • Steps to Reproduce:
      Hide

      1. send a list (object) message with OpenWire JMS client
      2. try to receive the message with qpid-cpp client
      3. unable to receive the message
      4. try to receive the message with qpid-jms client
      5. unable to receive the message
      6. try to receive the message with python-proton client
      7. unable to receive the message

      Show
      1. send a list (object) message with OpenWire JMS client 2. try to receive the message with qpid-cpp client 3. unable to receive the message 4. try to receive the message with qpid-jms client 5. unable to receive the message 6. try to receive the message with python-proton client 7. unable to receive the message

      Description

      JMS OpenWire sender:

      #  java  -cp <CLASSPATH> com.redhat.mqe.jms.aoc7_sender  --log-msgs dict --broker tcp://localhost:61616 --address "test_direct_transient_list_message" --count 1 --msg-content-list-item "" --msg-content-list-item "String" --msg-content-list-item "~1" --msg-content-list-item "~1.0" --msg-content-list-item "1" --msg-content-list-item "1.0" --msg-content-list-item "~-1" --msg-content-list-item "~-1.3" --msg-content-list-item "-1" --msg-content-list-item "~~1
      {'redelivered': False, 'reply_to': None, 'id': '836e6a15-37ad-11e6-9142-545200333dc6', 'user_id':None, 'correlation_id': None, 'priority': 4, 'durable': True, 'ttl': 0, 'type': None, 'expiration': 0, 'timestamp': 1466512905530, 'properties': {'JMSXDeliveryCount': '0'}, 'content': [None, 'String', 1, 1.0, '1', '1.0', -1, -1.3, '-1', '~1']}
      

      <Message sent>

      C++ receiver:

      # /var/dtests/node_data/clients/aac0_receiver  --log-msgs dict --broker localhost:5672 --connection-options "{  protocol : 'amqp1.0' }" --address "'jms.queue.test_direct_transient_list_message'" --count 1
      

      <No message received>

      Python-Proton receiver:

      # /var/dtests/node_data/clients/aac5_receiver.py  --broker-url "localhost:5672/jms.queue.test_direct_transient_list_message" --log-msgs dict --count 1
      

      <No message received>

      Qpid-jms receiver:

      # java  -cp <CLASSPATH> -Daac1.jndi=/var/dtests/node_data/clients/java/aac/resources/jndi.properties  -Dlog4j.configuration=file:/var/dtests/node_data/clients/java/aac/resources/log4j.properties  com.redhat.mqe.jms.aac1_receiver  --log-msgs dict --broker localhost:5672 --address "jms.queue.test_direct_transient_list_message" --count 1
      

      <No message received>

      Note: following message is displayed when trying to display the message in Hawtio:

      • Unsupported message body type which cannot be displayed by hawtio

      Note: QE client constructs the constructs the list message as an ObjectMessage containing the List.

      Note: QE client may be found here:

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  terranotsoferma Jack Britton
                  Reporter:
                  pematous Petr Matousek
                  Tester:
                  Radim Kubis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: