camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: translating response to jms request
Date Sat, 28 Nov 2009 09:51:07 GMT
On Sat, Nov 28, 2009 at 9:27 AM, lekkie <lekkie.aydot@gmail.com> wrote:
>
> Hi people,
>
> How can I ensure the message type sent to my response queue in the config
> file below is translated into a JMS textmessage type?
>
> <osgi:camelContext xmlns="http://camel.apache.org/schema/spring">
>                <route>
>                        <from
> uri="jms:queue:RequestQueue?replyTo=ResponseQueue" />
>                        <convertBodyTo
> type="javax.xml.transform.stream.StreamSource" />
>                        <to uri="log:jmsMessagesLog" />
>                        <bean ref="RecipientList" method="route" />
>                </route>
>        </osgi:camelContext>
> kr.
> --
> View this message in context: http://old.nabble.com/translating-response-to-jms-request-tp26545443p26545443.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Hi

The JMS wiki page documents this
http://camel.apache.org/jms.html

jmsMessageType	null	Camel 2.0: Allows you to force the use of a
specific javax.jms.Message implementation for sending JMS messages.
Possible values are: Bytes, Map, Object, Stream, Text. By default,
Camel would determine which JMS message type to use from the In body
type. This option allows you to specify it.




-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message