So, without the BC in the middle, it will just work for components running on
the same machine? At this point, using streams, can I transfer non-xml files
(using attachments)?
Thanks


gnodet wrote:
> 
> On 6/26/07, beppe82 <[EMAIL PROTECTED]> wrote:
>>
>>
>> I mean... if I use streams:
>>
>> - I can use ftp servicemix component to download the file
>> - send it to another component in the form of a stream
>> - this second component can read the file as usual with streams, like in
>> local filesystem, without loading the whole file in memory
> 
> 
> Yes
> 
> All this even if the two components are installed on different machines?
> And
>> ServiceMix will take care of the transfer over the net?
> 
> 
> No.  You would have to use a BC between your components that can support
> streaming:
> ftp or http (jms does not support streaming)
> 
> gnodet wrote:
>> >
>> > Why ?
>> > If you send a huge messages, you should be able to ensure that it is
>> send
>> > as
>> > a stream
>> > and not as a DOM document for example.  However, when you split it, you
>> > will
>> > certainly
>> > need to load it in memory if you want to split it (if it is an xml for
>> > example).
>> >
>> > If you need more fine grained control, I guess you can hack the
>> > servicemix-ftp component
>> > directly (though I would rather but an intermediate component that
>> would
>> > process the
>> > stream and send several exchanges instead).
>> >
>> > On 6/26/07, beppe82 <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Thanks for the answer, but this is not what I'm looking for: I need to
>> >> send
>> >> multiple messages instead of a huge message (I'm working with files
>> that
>> >> can
>> >> be of 10 MB), I don't want to send the huge message to the bus and
>> have
>> >> it
>> >> splitted during the route, do you understand what I mean?
>> >> Thanks
>> >>
>> >>
>> >> rabi wrote:
>> >> >
>> >> >
>> >> > Giuseppe,
>> >> >
>> >> > EIP Components (eip:xpath-splitter/eip:split-aggregator) has
>> in-built
>> >> > functionality to correlate the messages(ordered) during aggregation
>> >> > after they are are split and processed.
>> >> >
>> >> > Are you looking at something like this...
>> >> >
>> >> > Regards,
>> >> > Rabi Mishra,
>> >> > http://rabisblog.blogspot.com/
>> >> > c++; /* this makes c bigger but returns the old value */
>> >> > -----Original Message-----
>> >> > From: beppe82 [mailto:[EMAIL PROTECTED]
>> >> > Sent: Tuesday, June 26, 2007 3:36 PM
>> >> > To: [email protected]
>> >> > Subject: Re: message order
>> >> >
>> >> >
>> >> > Moreover, how can I send multiple message using the FTP component
>> >> > provided with ServiceMix?
>> >> >
>> >> >
>> >> > beppe82 wrote:
>> >> >>
>> >> >> Hi, does ServiceMix ensure messages are delivered in order by
>> default?
>> >> >
>> >> >> I have a ftp-poller service which works with very large files, so
>> I'd
>> >> >> like to split the message into many messages; these ones have to be
>> >> >> sent to another service which reconstruct the file and process
>> it...
>> >> >> Thanks, Giuseppe
>> >> >>
>> >> >
>> >> > --
>> >> > View this message in context:
>> >> > http://www.nabble.com/message-order-tf3981347s12049.html#a11302933
>> >> > Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >> >
>> >> >
>> >> >
>> >> > The information contained in this electronic message and any
>> >> attachments
>> >> > to this message are intended for the exclusive use of the
>> addressee(s)
>> >> and
>> >> > may contain proprietary, confidential or privileged information. If
>> you
>> >> > are not the intended recipient, you should not disseminate,
>> distribute
>> >> or
>> >> > copy this e-mail. Please notify the sender immediately and destroy
>> all
>> >> > copies of this message and any attachments.
>> >> >
>> >> > WARNING: Computer viruses can be transmitted via email. The
>> recipient
>> >> > should check this email and any attachments for the presence of
>> >> viruses.
>> >> > The company accepts no liability for any damage caused by any virus
>> >> > transmitted by this email.
>> >> >
>> >> > www.wipro.com
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/message-order-tf3981347s12049.html#a11303152
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Principal Engineer, IONA
>> > Blog: http://gnodet.blogspot.com/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/message-order-tf3981347s12049.html#a11303565
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/message-order-tf3981347s12049.html#a11303680
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to