Seems like a easy thing to me, but I can't get it working.
I have this:
@EndpointInject(uri = "jms:queue:updateRequest")
private ProducerTemplate<Exchange> producer;
and want to send a message, and set JMSReplyTo.
How do I do it?
this.producer.sendBodyAndHeader("mybody, "JMSReplyTo",
"jms:queue:updateReceipt");
That doesn't work...
What I really want to do is listen to a jms queue, unmarshal the result with
jaxb, forward that to a spring bean, and return the result from the spring
bean to the jsmreplyto in the received message. Seems like a basic simple
thing, but how? :)
Thanks,
--
/Magnus Heino