[rabbitmq-discuss] Simplest possible embedded message producer
Alan Antonuk
alan.antonuk at gmail.com
Tue Mar 20 15:06:45 GMT 2012
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> 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
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120320/9bb801f9/attachment.htm>
More information about the rabbitmq-discuss
mailing list