Hi Thanks for sharing this.
I have created a ticket https://issues.apache.org/activemq/browse/CAMEL-3291 To see if we could provide this out of the box with Camel. For example by using reflection to set options on destination resolvers. On Fri, Oct 29, 2010 at 6:43 AM, s2010in <[email protected]> wrote: > > 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. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
