This is exactly what CXF is doing if you do not set the conduitId properties.

This is from the JmsConduit. I removed some lines in between:
---

jmsTemplate.send(jmsConfig.getTargetDestination(), messageCreator);
correlationId = messageCreator.getMessageID();
final String messageSelector = "JMSCorrelationID = '" + correlationId + "'";
javax.jms.Message replyMessage = 
jmsTemplate.receiveSelected(replyToDestination, messageSelector);

---

Christian

Am 07.10.2011 10:55, schrieb David Karlsen:
This is how I have implemented req/res on top of WMQ - but should really
work on any JMS impl.:
doSend( producer, requestMessage );
correlationId = requestMessage.getJMSMessageID();
String selector = "JMSCorrelationID = '" + correlationId + "'"; //hard to
read on mail - but it quotes the ' char
Object result = receiveSelectedAndConvert( replyToDestination, selector );

2011/10/7 Christian Schneider<[email protected]>


--
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to