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: Passing Headers to a Route Invoked via Proxy
Date Thu, 26 Jun 2014 19:14:54 GMT
Hi

Maybe the Camel bean parameter binding works
http://camel.apache.org/parameter-binding-annotations.html

On Thu, Jun 26, 2014 at 9:11 PM, edhansen42 <edha@vsp.com> wrote:
> I have a route (A) that invokes a bean.  In the bean I am using the @Produce
> annotation to proxy to an endpoint associated with route B.
>
> When the endpoint for route B is invoked, camel creates a new exchange for
> it and sets the body to the BeanInvocation from the proxy call.
>
> But route B needs information that is stored in the headers of the exchange
> from route A.
>
> What is the best way to get information from the headers of the exchange for
> route A transferred to route B?
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Passing-Headers-to-a-Route-Invoked-via-Proxy-tp5752894.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message