<div>I&#39;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).</div><div><br></div><div>In general you&#39;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&#39;s not something done with most client libraries.</div>
<div><br></div><div>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&#39;m not experienced with development of embedded devices, so I&#39;m not sure how people typically accomplish these things.</div>
<div><br></div><div>HTH</div><div>-Alan</div><div><br><div class="gmail_quote">On Mon, Mar 19, 2012 at 11:41 AM, Dirk <span dir="ltr">&lt;<a href="mailto:dirk.swart@gmail.com">dirk.swart@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">- Does anyone have code for the simplest possible message producer?<br>
<br>
I would like to produce messages from a _very_ memory constrained<br>
embedded system*. Can anyone advise me on what the absolute minimum I<br>
have to do to produce and send a message is?<br>
<br>
Also, if anyone can point me towards what a simple &quot;hello world&quot;<br>
message template looks like, it would be appreciated. More details:<br>
I&#39;m thinking of the sort of message that the Tutorials cover (eg:<br>
<a href="http://www.rabbitmq.com/tutorials/tutorial-one-python.html" target="_blank">http://www.rabbitmq.com/tutorials/tutorial-one-python.html</a>)<br>
<br>
Thanks in advance - I&#39;m a Rabbit noob, apologies if this post is not<br>
using the correct terms.<br>
<br>
* ATMega 328p, same chip the Arduino uses.<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div>