Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6641

SJMS component throws class cast error when used with IBM Webshpere MQ

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.1
    • 2.11.2, 2.12.0
    • camel-sjms
    • None
    • Windows 7

    • Patch Available
    • Unknown

    Description

      When using the IBM MQ JMS classes and pub/sub over a TOPIC the JmsObjectFactory.createMessageConsumer method throws a cast class exception. The session is being cast to a TopicSession which for MQ it is not.
      Using pure jms this cast is not required as the session class is aware of the destination type.

      Attachments

        1. patchfile.txt
          2 kB
          Nigel Longton

        Activity

          People

            muellerc Christian Müller
            nigell Nigel Longton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: