camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Camel type converter query
Date Sun, 11 Nov 2012 00:28:10 GMT
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" <josephotoole@gmail.com>:

> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message