<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 15 Apr 2014, at 13:02, Dmitry Malinovsky wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 14, 2014 at 6:19 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Write a custom plug-in. <a href="https://www.rabbitmq.com/plugin-development.html" target="_blank">https://www.rabbitmq.com/plugin-development.html</a><br>
</blockquote><div> </div><div>Should I really implement all this application stuff just to have an ability to get access to a single function? Also, this "plugin" will not have any behavior, it is not even an application, so I'm really stuck.</div>
<br></div></div></div></blockquote><div><br></div><div>Well, Rabbit (and in this case actually, Erlang) needs to know about the "application" so it knows to load the various modules (i.e., code) at runtime. Also note that in Erlang, applications come in both active and passive guises, with applications that have no processes treated in much the same way as those that do. The latter kind are often called "library applications", and still need to specify an application config file so the Erlang runtime knows what to do with them.</div><div><br></div><div>Cheers,</div><div>Tim</div></div></body></html>