[rabbitmq-discuss] Channel Error - 404

Robbie Clutton robert.clutton at gmail.com
Mon Feb 2 08:17:50 GMT 2009


2009/2/2 Matthias Radestock <matthias at lshift.net>:
> Robbie,
>
> Robbie Clutton wrote:
>>
>>                channel.exchangeDeclare("allqueues", "direct");
>> ...
>>                channel.basicPublish("all queues", "routingKey", null,
>> messageBodyBytes);
>
> [...]
>
>>  com.rabbitmq.client.ShutdownSignalException (channel error; reason:
>> {#method<channel.close>(reply-code=404,reply-text=NOT_FOUND - no
>> exchange 'all queues' in vhost '/',class-id=50,method-id=20),null,""})
>
> The server tells you exactly what is wrong :)
>
> You are declaring an exchange "allqueues" but try to publish to an exchange
> "all queues".
>

that's definitely an 'aha' moment.  Thanks.

>
> Matthias.
>




More information about the rabbitmq-discuss mailing list