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.

Reply via email to