Found a solution after hours of research and debugging

Create a class like mentioned over
http://www.google.com/url?sa=t&source=web&cd=1&sqi=2&ved=0CBMQFjAA&url=https%3A%2F%2Fjira.springframework.org%2Fsecure%2Fattachment%2F12688%2FIBMWebSphereMqDestinationResolver.java&rct=j&q=destinationresolver%20mq%20targetclient&ei=9EvKTPX8D4P6lwehp5zwCg&usg=AFQjCNHPY-8153lgARXLuBAfgoyLRYqQvQ&cad=rja

Add @Component("wmqDestinationResolver") in the class if you are using
context scan

Set the reference in 
 <bean id="wmq" class="org.apache.camel.component.jms.JmsComponent"
                p:connectionFactory-ref="mqSeriesConnectionFactory" 
p:useVersion102="true"
                p:recoveryInterval="30000" p:testConnectionOnStartup="true" 
                p:destinationResolver-ref="wmqDestinationResolver"/>

You should be able to see MQSTR instead of MQRFH2 .. bingo .. hope this post
helps other find the solution :)
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-2-4-0-Websphere-MQ-NONJMS-Message-tp3241328p3241539.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to