Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14634

[IBM MQ 8/9 RA] TCK7 - MQTopicProxy.getTopicName() returns different name than it was set to sent message by IBM MQ 8/9 broker - MessageTestImpl.getJMSDestination()).getTopicName()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.2.0.CD12, 7.2.0.CD14
    • Fix Version/s: None
    • Component/s: WebSphereMQ RA
    • Labels:
      None

      Description

      Some TCK 7 tests are failing because JMSDestination name set to sent message is different from name of topic (MQTopicProxy).

      TCK 7 test comparison which fails:

      if ( ! ((Topic)message.getJMSDestination()).getTopicName().equals(tool.getDefaultTopic().getTopicName()) )   {
          throw new Exception("Header not set correctly");
      }
      

      Problem is that ((Topic)message.getJMSDestination()).getTopicName(); topic://MYTOPIC?XMSC_WMQ_BROKER_PUBQ_QMGR=QM returns topic://MYTOPIC?XMSC_WMQ_BROKER_PUBQ_QMGR=QM

      and ( tool.getDefaultTopic().getTopicName()) returns topic://MYTOPIC

      TCK7 tests failing because this issue:

      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/foreignMsgTopic/ForeignMsgTopicTests.java#sendSetsJMSDestinationTopicTest_from_ejb
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/foreignMsgTopic/ForeignMsgTopicTests.java#sendSetsJMSDestinationTopicTest_from_jsp
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/foreignMsgTopic/ForeignMsgTopicTests.java#sendSetsJMSDestinationTopicTest_from_servlet
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/messageProducer/MessageProducerTests.java#sendTopicTest6_from_ejb
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/messageProducer/MessageProducerTests.java#sendTopicTest6_from_jsp
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/messageProducer/MessageProducerTests.java#sendTopicTest6_from_servlet
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTests.java#msgHdrJMSDestinationTopicTest_from_ejb
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTests.java#msgHdrJMSDestinationTopicTest_from_jsp
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTests.java#msgHdrJMSDestinationTopicTest_from_servlet
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTests.java#msgHdrReplyToTopicTest_from_ejb
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTests.java#msgHdrReplyToTopicTest_from_jsp
      [javatest.batch] FAILED........com/sun/ts/tests/jms/core/topicMsgHeaders/TopicHeaderTests.java#msgHdrReplyToTopicTest_from_servlet
      

      There is used IBM MQ 9.0.0.0 RA. Issue is in IBM MQ 9.0.0.0 resource adapter, there is nothing what can be done from EAP pov.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jmesnil Jeff Mesnil
                Reporter:
                mnovak Miroslav Novak
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: