[rabbitmq-discuss] Queued file transfer with many writers and many readers using the Java client

Matthias Radestock matthias at lshift.net
Mon Aug 18 08:33:44 BST 2008


Dimitar,

Dimitar Bakardzhiev wrote:
> there is no example showing how to use all methods from 
> File class

The File class is deprecated; RabbitMQ (and other AMQP brokers) do not 
implement it and it will likely be removed in a future version of the spec.

> Both FileProducer and FileConsumer examples make no use of File class 
> methods but only Basic class Publish.

The Basic class should be sufficient, and hence the 
File{Producer,Consumer} examples should be a good starting point for 
your own code.

If you run into any problems adapting the examples to your use case 
please let us know.


Regards,

Matthias.




More information about the rabbitmq-discuss mailing list