camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Ambiguous method invocations in bean binding
Date Thu, 04 Nov 2010 03:40:47 GMT
It makes sense, +1 for the change.

On 11/4/10 7:28 AM, Christian Müller wrote:
> Hello Rafal!
> Please provide more details like the Camel version you are using in
> further questions. Please have a look here:
> However, I assume you have a String as payload in your message. The
> default Camel type converter mechanism is able to convert this payload
> also into an InputStream. This is the reason, why this is ambiguous for
> Camel...
> I wondering, if we SHOULD make Camel a bit smarter here. I made a patch
> which fixes this issue. We check whether the message payload is an
> instance of the bean method argument. If so, we will use this method and
> don't convert the body. Any objections?
> Cheers,
> Christian

Blog: (English)
Twitter: willemjiang

View raw message