[rabbitmq-discuss] Simplest possible embedded message producer

Tony Garnock-Jones tonygarnockjones+rabbitmq at gmail.com
Tue Mar 20 20:41:48 GMT 2012


On 20 March 2012 16:40, Tony Garnock-Jones <
tonygarnockjones+rabbitmq at gmail.com> wrote:

> See https://github.com/tonyg/udp-exchange#readme under headings "Messages
> arriving from UDP" and "Messages to be sent to UDP".
>

Um, to be slightly more informative: it simply takes the whole of the
arriving UDP packet and sticks it in as the body of an AMQP message. It
also copies as much of the packet as will fit into the routing key, after
the string "ipv4.A.B.C.D.Port" where A.B.C.D is the source IP address.
Bindings to the exchange get to use topic-exchange syntax for matching
routing_keys.

Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120320/6558a5c9/attachment.htm>


More information about the rabbitmq-discuss mailing list