[rabbitmq-discuss] Policy Settings definition
Alvaro Videla
videlalvaro at gmail.com
Mon Feb 3 20:34:22 GMT 2014
Hi,
According to the docs[1], the policy key should be
"dead-letter-exchange" instead of "x-dead-letter-exchange"
Regards,
Alvaro
1 - http://www.rabbitmq.com/dlx.html
On Mon, Feb 3, 2014 at 9:29 PM, Arun Rao <arunrao.seattle at gmail.com> wrote:
> 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!
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
More information about the rabbitmq-discuss
mailing list