I'm quite optimistic that injecting a new JmsConfiguration extends
JmsConfiguration with an own JmsTemplate extending the CamelJmsTemplate
would work.
In the MyJmsConfiguration I've copied the createInOnlyTemplate from
JmsConfiguration and just modified the line
JmsTemplate template = new CamelJmsTemplate(this, factory);
to
JmsTemplate template = new MyCamelJmsTemplate(this, factory);
MyCamelJmsTemplate is a copy of the CamelJmsTemplate with the small
modification in method doSendToDestination.
I've added the the WMQ specfiic destination propiertes as first step if that
method.
Do you think that was the right approach for that?
--
View this message in context:
http://camel.465427.n5.nabble.com/DestinationResolver-for-Reply-Messages-tp5727490p5727767.html
Sent from the Camel - Users mailing list archive at Nabble.com.