[rabbitmq-discuss] Initialize variables for plugin via config file

Alvaro Videla videlalvaro at gmail.com
Fri Nov 9 11:48:29 GMT 2012


Hi,

Take a look at Erlang .config files:
http://www.erlang.org/doc/design_principles/applications.html#id74117 and
http://www.erlang.org/doc/man/config.html

You could use those from your plugin

Regards,

Alvaro


On Fri, Nov 9, 2012 at 11:43 AM, Prabodh Upreti <prabodh.upreti at vce.com>wrote:

> I need to use variables in the plugin. Currently it is used via
> application:get_env . My problem is the variables need to be configurable
> on
> the client site.  I would like to use the .config file to store the values
> and then use in the plugin.  Maybe there is a better way to do this. I just
> don't want it packaged in the .ez file where I can't make it configurable.
> thanks in advance.
>
>
>
> --
> View this message in context:
> http://rabbitmq.1065348.n5.nabble.com/Initialize-variables-for-plugin-via-config-file-tp23265.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> 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/20121109/8b6094a5/attachment.htm>


More information about the rabbitmq-discuss mailing list