[openamq-dev] Content File Publish
Martin Sustrik
sustrik at imatix.com
Tue Sep 4 10:59:41 CEST 2007
Hi,
Here it is:
http://wiki.openamq.org/package:simple-file-transfer
Martin
Pieter Hintjens wrote:
> On 9/4/07, liushi_80_80 at hotmail.com <liushi_80_80 at hotmail.com> wrote:
>
>> I need to use OpenAMQ to publish files, but I don't know how to use
>> amq_client_session_file_publish. Can you give me some suggestions or
>> examples?
>
> The file class is not implemented (neither is stream). To publish
> files, use the Basic class. You can send messages of any size, but if
> you want to send very large files, you should send them in chunks, as
> separate messages. (Otherwise they are queued in the server and will
> cause memory overflows).
>
> I believe Martin Sustrik has a simple example of reading/writing files
> across AMQP as Basic messages. Martin?
>
> -Pieter
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev
More information about the openamq-dev
mailing list