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 <[email protected]> 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: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
