[rabbitmq-discuss] Simplest possible embedded message producer

Gavin M. Roy gmr at myyearbook.com
Tue Mar 20 21:14:44 GMT 2012


Hmm, while cool, I'd really need the ability to use Basic.Properties. Given the single UDP packet restriction of the message, it's probably outside the realm of what I am looking for, but very cool none the less.

Gavin 


On Tuesday, March 20, 2012 at 4:41 PM, Tony Garnock-Jones wrote:

> On 20 March 2012 16:40, Tony Garnock-Jones <tonygarnockjones+rabbitmq at gmail.com (mailto:tonygarnockjones%2Brabbitmq 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/da3f3177/attachment.htm>


More information about the rabbitmq-discuss mailing list