Check the documentation. You can pass the exchange as second parameter into the converter method.
Sent from a mobile device Am 11.11.2012 00:15 schrieb "gilboy" <[email protected]>: > Hi > > I am trying to create a type converter that converts from a string to a > domain object(Customer). > > The string is in the body of the in message of the exchange but I also need > certain properties from the exchange to do the conversion > > Obviously the body of the in message(string in my case) of the exchange is > available to the type converter but can I get a reference to the exchange > to > get the properties needed for the conversion? > > Thanks > Joe > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-type-converter-query-tp5722514.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
