[openamq-dev] PAL examples

Martin Sustrik sustrik at imatix.com
Sat Mar 31 13:06:37 CEST 2007


Carl,

> As you say if there's not a requirement for it currently, then there's
> no point implementing it. - Although would be nice to start replacing
> some of the unwieldy FTP type setups our customers use!

Maybe you would like to enhance the examples I've attached and build an 
file transfer service over OpenAMQ yourself?

> With regards to funding, maybe this would be something we would could
> discuss in the future based on our customers' requirements for large
> file handling.

Yes, feel free to ask us in case you want to have some functionality 
added or performance tuning done.

> In the meantime could you show me how to do this if you wouldn't mind? -
> I think probably makes more sense to do it this way anyway.

See the attached files. The program is quite silly, but demonstrates the 
idea. Sender chops the file into 1MB chunks and sends them over the wire 
one by one. Receiver blindly receives the chunks and appends them to the 
file specified on the command line.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: receive_file.c
Type: text/x-csrc
Size: 5267 bytes
Desc: not available
Url : http://lists.openamq.org/pipermail/openamq-dev/attachments/20070331/16099eba/receive_file.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: send_file.c
Type: text/x-csrc
Size: 4789 bytes
Desc: not available
Url : http://lists.openamq.org/pipermail/openamq-dev/attachments/20070331/16099eba/send_file.c


More information about the openamq-dev mailing list