camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Greenwood (JIRA)" <>
Subject [jira] [Created] (CAMEL-7449) Camel Subscribing to messages published by non-camel producers
Date Tue, 20 May 2014 12:36:37 GMT
James Greenwood created CAMEL-7449:

             Summary: Camel Subscribing to messages published by non-camel producers
                 Key: CAMEL-7449
             Project: Camel
          Issue Type: Bug
          Components: camel-jms
    Affects Versions: 2.13.0
         Environment: Redhat Linux
            Reporter: James Greenwood

I have come across an issue with Camel 2.13 when subscribing to a qpid messages published
by a non-camel producers. The error happens with both Qpid C++ producer and also a python

An Null pointer exception is thrown in the JmsBinding.extractHeadersFromJMS on line 173. 

map.put("JMSXUserID", jmsMessage.getStringProperty("JMSXUserID")); 

JMSXUserID has not been set by the publisher as it is a non-JMS publisher. 

at java.lang.String.<init>(
at org.apache.qpid.client.message.AMQMessageDelegate_0_10.getStringProperty(
at org.apache.qpid.client.message.AbstractJMSMessage.getStringProperty(
at org.apache.camel.component.jms.JmsBinding.extractHeadersFromJms(
at org.apache.camel.component.jms.JmsMessage.populateInitialHeaders(

Full stack trace not show as it is on a different system

I can see a change was made to in Camel 2.12.2 to fix a ActiveMQ issue. This
is what has caused the issue. The system is being upgraded from Camel 2.9.2 to Camel 2.13.1
and this issue has been experienced.

This message was sent by Atlassian JIRA

View raw message