<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-tab-span" style="white-space:pre">        </span><br><div><div>On Aug 26, 2010, at 4:44 PM, Matthias Radestock wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Jon,<br><br>Jon Brisbin wrote:<br><blockquote type="cite">I just pushed the first alpha of a webhooks plugin for RabbitMQ to Github:<br></blockquote><blockquote type="cite"><a href="http://github.com/jbrisbin/rabbitmq-webhooks">http://github.com/jbrisbin/rabbitmq-webhooks</a><br></blockquote><br>Congrats on writing the first community plugin for RabbitMQ 2.0!<br><br>And it's looking pretty good too.<br><br>Btw, this intrinsically doesn't need to be a plug-in, since all its interactions with the broker are over AMQP. So you could make it a standalone app. The same is true of several other existing plug-ins, including the shovel.<br><br>Embedding in the broker has its advantages of course. One less piece of software to start/stop/manage, easy to deploy, better performance. The downside is that if it dies it could take out the broker.<br></div></blockquote><div><br></div></div>I really debated about this. But one of the problems I'm trying to solve is to not have to have any other service to manage. <div><br></div><div>I see this more as an extension of the broker than a standalone app, too.</div><div><br></div><div>But I do worry about killing the broker... :/ So far, errors making HTTP requests have resulted in terminating the gen_server, which is respawned by the supervisor. If there's a configuration error or somesuch (or syntax error in my code, as an example), it causes the broker to start, then stop immediately without always giving a clear idea of where the error is. I end up going back to putting log statements in every other line. :) Old school debugging...<br><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Palatino; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" face="Palatino" size="4"><span class="Apple-style-span" style="font-size: 14px; "><br class="Apple-interchange-newline">Thanks!</span></font></div><div><font class="Apple-style-span" face="Palatino" size="4"><span class="Apple-style-span" style="font-size: 14px; "><br></span></font></div><div><font class="Apple-style-span" face="Palatino" size="4"><span class="Apple-style-span" style="font-size: 14px; ">J. Brisbin</span></font></div><div><font class="Apple-style-span" face="Palatino" size="4"><span class="Apple-style-span" style="font-size: 14px; "><a href="http://jbrisbin.com/">http://jbrisbin.com/</a></span></font></div><div><font class="Apple-style-span" face="Palatino" size="4"><span class="Apple-style-span" style="font-size: 14px; "><br></span></font></div><div><font class="Apple-style-span" face="Palatino" size="4"><span class="Apple-style-span" style="font-size: 14px; "><br></span></font></div></div><font class="Apple-style-span" face="Palatino" size="4"><span class="Apple-style-span" style="font-size: 14px; "><br></span></font></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></span>
</div>
<br></div></div></body></html>