Delayed Message Exchange - unknown exchange type 'x-delayed-message'

1,066 views
Skip to first unread message

mart...@live.com

unread,
Feb 20, 2023, 7:52:24 PM2/20/23
to rabbitmq-users
Just enabled the Plugin version 3.9.0 running on Rabbit MQ 3.9.11.
I restarted Rabbit MQ.  When I run the list command....I can see that the plugin is indeed enabled.

However when I run the the following .net C# code:

var args = new Dictionary<string, object>();
                        args.Add("x-delayed-type", "direct");
                        channel.ExchangeDeclare("poisonExchangeName", "x-delayed-message", true, false, args);

I get the following error message:

RabbitMQ.Client.Exceptions.OperationInterruptedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=503, text='COMMAND_INVALID - unknown exchange type 'x-delayed-message'', classId=40, methodId=10
   at RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply(TimeSpan timeout)
   at RabbitMQ.Client.Impl.ModelBase.ModelRpc(MethodBase method, ContentHeaderBase header, Byte[] body)
   at RabbitMQ.Client.Framing.Impl.Model._Private_ExchangeDeclare(String exchange, String type, Boolean passive, Boolean durable, Boolean autoDelete, Boolean internal, Boolean nowait, IDictionary`2 arguments)
   at RabbitMQ.Client.Impl.ModelBase.ExchangeDeclare(String exchange, String type, Boolean durable, Boolean autoDelete, IDictionary`2 arguments)

mart...@live.com

unread,
Feb 20, 2023, 9:53:02 PM2/20/23
to rabbitmq-users
ok...got past this error.  Had to uninstall and reinstall the rabbitmq service
Reply all
Reply to author
Forward
0 new messages