2008/1/27, Sigmund <[EMAIL PROTECTED]>:
> Is it possible to do asynchronous JMS request/response using camel
> producerTemplate i.e.
> need to create temp queue and set JMSReplyTo, or is the only solution pure
> JMS api?

I believe it is possible by setting pattern property on the exchange you send.

You can use template.send(String, Processor) method and in your
processor you can do:

((DefaultExchange)exchange).setPattern(InOut);

To clarify - what I write is not tested, and I don't have my eclipse
at the moment so if there are some methods that are named in a
different way, that find the proper one. Anyway SOMETHING like this
should work.

Roman

Reply via email to