You need to send us the uri that you used in the producerTemplate.

-- 
Willem Jiang

FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang



On Thursday, August 23, 2012 at 2:34 AM, ambarish.d wrote:

> Hello 
> 
> I am trying to use Camel with IBM MQ Queue. I want to set few properties
> with JNDI on Queue Object.
> I found few thread Destination Resolver is the answer but I am not able to
> find any Java example of doing this.
> 
> I am using Java for creating Endpoint and Producer template. 
> 
> Destination returned by Destinationresolver class is:
> 
> queue://TESTER.QUEUE?priority=4&persistence=2&targetClient=1
> 
> but after execution on producerTemplate.send() - I am getting
> NullPointerException :: Unable to create Producer for Endpoint.
> 
> Can anybody please suggest proper way of using JndiDestinationResolver, it
> will be great help.
> 
> 
> 
> 
> 
> -----
> thanks
> Amby
> http://workingwithqueues.blogspot.com/ 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-with-IBM-MQ-JNDI-tp5717890.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to