JMS Destinataion is setting NULL

2018-03-22 Thread Gupta Bharat
am picking up message from ActiveMQ topic and routing the message to IBM MQ using APACHE CAMEL. I am setting various JMS properties that are getting reflected but when setting JMSDestination value it is coming as null. The change linked below causes camel-jms throws an exception when a message

Re: JMS Destinataion is setting NULL

2018-03-22 Thread Claus Ibsen
Hi Generally the JMSDestination is for read-only, eg when you receive a message you can use this property to know the queue name etc. What do you want to do, do you want to override where Camel sends the message to a queue/topic name you can specific in a header via ? Also what version of Camel

AW: Please correct ids to be unique among all your routes.

2018-03-22 Thread Hrvoje Djurdjevic
Here is the output from java console: Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 14:52:10.154 [main] INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing org.springframework.boot.context.embedded.Anno

Re: Please correct ids to be unique among all your routes.

2018-03-22 Thread Claus Ibsen
Hi What version of Camel and Spring Boot do you use? And can you maybe put your sample project on github or something so we can take a look there and try it out On Tue, Mar 20, 2018 at 6:59 PM, wrote: > Hi, > > if I try to build this code: > > package org.mycompany; > > import org.apache.camel.