Hi,
It looks the "JMSReplyTo" header only takes the value of Destination.
If you want to override the replyTo attribute by using the uri option.
Here is an example
public void configure() throws Exception {
from("direct:start")
.inOut("activemq:queue:foo?replyTo=queue:bar")
.to("mock:result");
from("activemq:queue:foo")
.transform(body().prepend("Hello "));
}
On 5/24/11 10:31 AM, Jim Newsham wrote:
Thank you for the response Willem, however the result is the same using
"JMSReplyTo" as the header name.
Regards,
Jim
On 5/23/2011 4:19 PM, Willem.Jiang wrote:
Hi
The header name should be "JMSReplyTo".
Willem
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com