Yes, this is expected.  You can retrieve the binary stream in the
attachments on the input normalized message.

On Fri, Sep 5, 2008 at 2:15 PM, Richa Khurana
<[EMAIL PROTECTED]> wrote:
> I tried that also. But, then the source object on xbean side was null.
>
> -----Original Message-----
> From: Guillaume Nodet [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2008 5:43 PM
> To: [email protected]
> Subject: Re: Unable to read files in my xbean
>
> I think the reason is that servicemix expects an xml as the content.
> You need to set up the file endpoint to use the BinaryFileMarshaler.
>
> On Fri, Sep 5, 2008 at 1:49 PM, Richa Khurana
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I am a newbie to servicemix and camel.. am using a filepoller to load
>> files from a source folder and send them to a JMS queue and then to my
>> xbean. it reaches upto my xbean but i cant read the file, it throws
> the
>> below exception
>>
>>
>>
>> DEBUG - SedaQueue                      -
>> [EMAIL PROTECTED] dequeued
>> exchange: InOnly[
>> id: ID:172.16.80.75-11c324d629e-8:0
>> status: Active
>>   role: provider
>>   endpoint: myBean
>> in: Unable to display: java.io.IOException: Stream closed
>>
>> Thanks,
>> Richa
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to