[rabbitmq-discuss] Simplest possible embedded message producer
Simon MacMullen
simon at rabbitmq.com
Tue Mar 20 15:13:06 GMT 2012
And if rabbitmq-c is still too big, and all you need to do is publish
messages from the tiniest client possible, you might want to look at
STOMP - you could probably write a minimal publish-only client quite
simply, and it would be pretty small.
Cheers, Simon
On 20/03/12 15:06, Alan Antonuk wrote:
> I'm not sure AMQP/rabbitmq-c client would be able to run on that
> constrained of a system (someone else on this list might correct me though).
>
> In general you're going to need a TCP/IP stack so you can connect to the
> broker, then enough memory to hold a couple frames (the minimum frame
> size is 4096 bytes). You could probably do it with smaller buffers but
> it's not something done with most client libraries.
>
> If that all will fit in your constrained system, I would probably pick
> apart the the rabbitmq-c library and pare it down to something that does
> the minimum you need. Then again I'm not experienced with development of
> embedded devices, so I'm not sure how people typically accomplish these
> things.
>
> HTH
> -Alan
>
> On Mon, Mar 19, 2012 at 11:41 AM, Dirk <dirk.swart at gmail.com
> <mailto:dirk.swart at gmail.com>> wrote:
>
> - Does anyone have code for the simplest possible message producer?
>
> I would like to produce messages from a _very_ memory constrained
> embedded system*. Can anyone advise me on what the absolute minimum I
> have to do to produce and send a message is?
>
> Also, if anyone can point me towards what a simple "hello world"
> message template looks like, it would be appreciated. More details:
> I'm thinking of the sort of message that the Tutorials cover (eg:
> http://www.rabbitmq.com/tutorials/tutorial-one-python.html)
>
> Thanks in advance - I'm a Rabbit noob, apologies if this post is not
> using the correct terms.
>
> * ATMega 328p, same chip the Arduino uses.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> <mailto:rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list