Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A1DD1003B for ; Thu, 15 Aug 2013 15:21:51 +0000 (UTC) Received: (qmail 3223 invoked by uid 500); 15 Aug 2013 15:21:49 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 2961 invoked by uid 500); 15 Aug 2013 15:21:49 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 2886 invoked by uid 99); 15 Aug 2013 15:21:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 15:21:48 +0000 Date: Thu, 15 Aug 2013 15:21:48 +0000 (UTC) From: "Nigel Longton (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-6641) SJMS component throws class cast error when used with IBM Webshpere MQ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nigel Longton updated CAMEL-6641: --------------------------------- Attachment: patchfile.txt Created a patch that fixes it on my desktop. > 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 > 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