Good catch Willem!

So that probably only leaves the convertBodyTo(String.class) workaround...

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/9/25 Willem Jiang <[email protected]>:
> Sorry , I don't know which version of camel that Servicemix 3.2.3 is using.
>
> As Gert said , the issue may relates to the Stream caching, from the log I
> can see the InputStream is turned into InputStreamCache. But I'm not sure if
> your servicemix-camel component hit the old version of camel's bug of stream
> caching.
>
> INFO  - REQUEST_B               -
> Exchange[BodyType:org.apache.camel.converter.stream.StreamCacheConverter.InputStreamCache,
> Body:<jbi:message xmlns="http://java.sun.com/xml/ns/jbi";
> xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper";><jbi:part><sons:displayInformation
> xmlns:sons="http://path.to.service/InformationService/";><approver>000000001</approver></sons:displayInformation></jbi:part></jbi:message>
> ]
>
> Can you comment out the log route rule and try again ?
> If I remember right there was an issue of camel logger which doesn't reset
> the cached stream long time ago.
>
> Willem
>
>
> angel.ortiz wrote:
>>
>> I'm using Servicemix version 3.2.3. The version of my CXF BC is 3.2.3 too.
>>
>> I'll try with CXF BC ver 2009.01.
>>
>> Angel
>>
>>
>> willem.jiang wrote:
>>>
>>> Hi,
>>>
>>> I think there are something wrong with your jbi message.
>>> Which version of camel or servicemix are you using?
>>>
>>> Willem
>>>
>>>
>>
>
>

Reply via email to