[
https://issues.apache.org/jira/browse/CAMEL-6641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741538#comment-13741538
]
Christian Müller commented on CAMEL-6641:
-----------------------------------------
Thanks Nigel for the patch! It's applied into the master and the camel-2.11.x
maintenance branch.
> 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
> Assignee: Christian Müller
> Priority: Minor
> Fix For: 2.11.2, 2.12.0
>
> Attachments: patchfile.txt
>
>
> 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