You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by JamesCG26 <ja...@jamescg.co.uk> on 2014/05/20 12:22:03 UTC

Camel Subscribing to messages published by non-camel producers

Hi,

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

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.

Has anyone else experienced this ?

Thanks




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Subscribing-to-messages-published-by-non-camel-producers-tp5751343.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Subscribing to messages published by non-camel producers

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

No have not heard about this. Feel free to log a JIRA ticket, and if
you got the stacktrace then that would be lovely if you could add that
to the JIRA.



On Tue, May 20, 2014 at 12:22 PM, JamesCG26 <ja...@jamescg.co.uk> wrote:
> Hi,
>
> I have come across an issue with the Camel 2.13.1 source code when
> subscribing to a qpid messages published by a non-camel producers. The error
> happens with both Qpid C++ producer and also a python producer.
>
> 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.
>
> Has anyone else experienced this ?
>
> Thanks
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Subscribing-to-messages-published-by-non-camel-producers-tp5751343.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/