camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Heino" <>
Subject ProducerTemplate and JMSReplyTo
Date Fri, 15 Feb 2008 11:08:19 GMT
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",

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? :)



/Magnus Heino

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message