This example here does exactly that:
https://github.com/videlalvaro/php-amqplib/blob/master/PhpAmqpLib/Tests/Functional/FileTransferTest.php

On Mon, May 14, 2012 at 11:56 PM, Jason Frame <[email protected]> wrote:

> I am still new and getting used to RabbitMQ, and was wondering the best
> way to send a small file along with a message. We are looking at using this
> to send a message on a server using PHP and consuming using a .net client.
>
> Our typical message with have an associative array serialized to json, but
> for some of the messages, there will need to be an image or pdf file
> attached.  These files are relatively small (less than 20k) so they should
> not need to be chunked. I have been reading through the messages, and have
> not found any type of example or best practice on how to do this.
>
> thanks
> jason
>
> _______________________________________________
> rabbitmq-discuss mailing list
> [email protected]
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rabbitmq-discuss?hl=en.

Reply via email to