[rabbitmq-discuss] Policy Settings definition

Arun Rao arunrao.seattle at gmail.com
Mon Feb 3 20:29:30 GMT 2014


Hello -

I am running rabbitmq version 3.0.2. When I set a policy for dead
lettering, i get the error message policy settings not recognized. As per
the changelog, this was introduced in 2.8.0. can some one please help?
http://www.rabbitmq.com/changelog.html

Interestingly, in the web Management console (port:15672), i see three
definitions under policy: ha-mode, ha-params and federation-upstream-set.
SHould i enable any plugin for this?

*Command::>*

sudo rabbitmqctl set_policy -p rqa3.logging DLX ".*"
'{"x-dead-letter-exchange":"serviceDLX"}'

Setting policy "DLX" for pattern ".*" to
"{\"x-dead-letter-exchange\":\"serviceDLX\"}" ...

Error: Validation failed


[{<<"x-dead-letter-exchange">>,<<"serviceDLX">>}] are not recognised policy
settings

*RabbitMQ version::>*

sudo rabbitmqctl report|more

....

[{rabbitmq_shovel_management,"Shovel Status","3.0.2"},

      {rabbitmq_federation_management,"RabbitMQ Federation Management",

          "3.0.2"},

      {rabbitmq_management,"RabbitMQ Management Console","3.0.2"},

      {rabbitmq_federation,"RabbitMQ Federation","3.0.2"},

      {rabbitmq_management_agent,"RabbitMQ Management Agent","3.0.2"},

      {rabbit,"RabbitMQ","3.0.2"},


*Enabled Plugins:>*


sudo rabbitmq-plugins list

[e] amqp_client                       3.0.2

[ ] cowboy                            0.5.0-rmq3.0.2-git4b93c2d

[ ] eldap                             3.0.2-gite309de4

[e] mochiweb                          2.3.1-rmq3.0.2-gitd541e9a

[ ] rabbitmq_auth_backend_ldap        3.0.2

[ ] rabbitmq_auth_mechanism_ssl       3.0.2

[ ] rabbitmq_consistent_hash_exchange 3.0.2

[E] rabbitmq_federation               3.0.2

[E] rabbitmq_federation_management    3.0.2

[ ] rabbitmq_jsonrpc                  3.0.2

[ ] rabbitmq_jsonrpc_channel          3.0.2

[ ] rabbitmq_jsonrpc_channel_examples 3.0.2

[E] rabbitmq_management               3.0.2

[e] rabbitmq_management_agent         3.0.2

[ ] rabbitmq_management_visualiser    3.0.2

[e] rabbitmq_mochiweb                 3.0.2

[ ] rabbitmq_mqtt                     3.0.2

[ ] rabbitmq_old_federation           3.0.2

[ ] rabbitmq_shovel                   3.0.2

[E] rabbitmq_shovel_management        3.0.2

[ ] rabbitmq_stomp                    3.0.2

[ ] rabbitmq_tracing                  3.0.2

[ ] rabbitmq_web_stomp                3.0.2

[ ] rabbitmq_web_stomp_examples       3.0.2

[ ] rfc4627_jsonrpc                   3.0.2-git7ab174b

[ ] sockjs                            0.3.4-rmq3.0.2-git3132eb9

[e] webmachine                        1.9.1-rmq3.0.2-git52e62bc

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140203/5951ecae/attachment.html>


More information about the rabbitmq-discuss mailing list