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: Is there any way to 'park' values for later use
Date Wed, 29 Jun 2011 07:20:34 GMT
You can store custom values as properties on the Camel Exchange.

On Wed, Jun 29, 2011 at 6:11 AM, Jim Talbut <jtalbut@spudsoft.co.uk> wrote:
> Hi,
>
> I want to provide a single web service that makes calls to two separate web
> services.
> The arguments for the two services are different and some of them are
> independent, so the service I offer will have a combined argument list, and
> I need to do a couple of transformations to generate the arguments for the
> called services.
>
> What I can't see is how I can store arguments for the second service that
> are not required for the first service so that I can access them again in
> the transformation for the second service.
> I could do this quite easily with a couple of custom processors, just adding
> the initial data to the exchange, but I'd like to know whether there is any
> way to do it without custom processors.
>
> Thanks
>
> Jim
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message