You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nigel Longton (JIRA)" <ji...@apache.org> on 2013/08/15 17:19:48 UTC

[jira] [Created] (CAMEL-6641) SJMS component throws class cast error when used with IBM Webshpere MQ

Nigel Longton created CAMEL-6641:
------------------------------------

             Summary: SJMS component throws class cast error when used with IBM Webshpere MQ
                 Key: CAMEL-6641
                 URL: https://issues.apache.org/jira/browse/CAMEL-6641
             Project: Camel
          Issue Type: Bug
          Components: camel-sjms
    Affects Versions: 2.11.1
         Environment: Windows 7
            Reporter: Nigel Longton
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira