camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bilgin Ibryam <bibr...@gmail.com>
Subject Re: return a response for spring webservice route
Date Wed, 22 Feb 2012 00:15:03 GMT
I think you have to return the string ABC as a xml document

Bilgin

On 21 February 2012 22:16, chris snow <chsnow123@gmail.com> wrote:

> Hi Forum,
>
> I am exposing a spring webservice, where incoming requests are put onto a
> jms queue:
>
>      <route>
>         <from
> uri="spring-ws:rootqname{myns}myRequest?endpointMapping=#endpointMapping"
> />
>         <wireTap uri="activemq:queue:jms.incoming" />
>         <setBody><constant>ABC</constant></setBody>
>      </route>
>
> I would like to return a constant for the response, but nothing is getting
> returned.  I'm not sure what I'm doing wrong.
>
> Any pointers will be appreciated.
>
> Many thanks,
>
> Chris
>

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