You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by hsha <sh...@yahoo.co.in> on 2007/02/12 19:01:10 UTC

How JBI messages and attachments flow

I have a scenario say to read the large file(>= 10 MB) using file reading
component and pass the same large file content to another servicemix
component.

My question is:
How to pass the large jbi message content(contains file content) from one
component to another in an efficient way?Like using streams.

Please let me know the answer and if possible with a simple example.

Thanks,
hsha
 
-- 
View this message in context: http://www.nabble.com/How-JBI-messages-and-attachments-flow-tf3215401s12049.html#a8929331
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: How JBI messages and attachments flow

Posted by Guillaume Nodet <gn...@gmail.com>.
Attachments (or even the main xml content) can be streams, and
will be kept as streams until they are actually read.  So attachments
can be transfered from an input file to a remote ftp server without
loading the whole in memory.

On 2/12/07, hsha <sh...@yahoo.co.in> wrote:
>
> I have a scenario say to read the large file(>= 10 MB) using file reading
> component and pass the same large file content to another servicemix
> component.
>
> My question is:
> How to pass the large jbi message content(contains file content) from one
> component to another in an efficient way?Like using streams.
>
> Please let me know the answer and if possible with a simple example.
>
> Thanks,
> hsha
>
> --
> View this message in context: http://www.nabble.com/How-JBI-messages-and-attachments-flow-tf3215401s12049.html#a8929331
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/