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: Modifying exchange in a Converter?
Date Fri, 12 Apr 2013 07:17:24 GMT
Yeah I think its more okay if the types being converted to is a custom
type, eg such as com.foo.mycompany.MyCustomer etc.
And that its documented this happens / so people would know that this
is by design.




On Thu, Apr 11, 2013 at 11:50 AM, sothach <phillips.roy@gmail.com> wrote:
> Is it considered bad practice to modify the exchange in a converter?
> I feels wrong to me, but sometimes that's the best/only place to say extract
> a business value from an object (e.g., in.body) and make it available to
> other parts of the route (e.g., in.header) that don't need to know the type
> of the body.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Modifying-exchange-in-a-Converter-tp5730710.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message