[rabbitmq-discuss] exception starting consumer and adding a binding
    Michael Klishin 
    mklishin at gopivotal.com
       
    Tue May 27 19:34:15 BST 2014
    
    
  
On 27 May 2014 at 22:31:10, PATAR, SAGAR (sp345s at att.com) wrote:
> >
> org.springframework.amqp.UncategorizedAmqpException:  
> java.lang.IllegalStateException: Invalid configuration:  
> 'exchange' must be non-null.
> at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:60)  
> at org.springframework.amqp.rabbit.connection.RabbitAccessor.convertRabbitAccessException(RabbitAccessor.java:108)  
…
>  
> at java.lang.Thread.run(Thread.java:662)
>  
>  
> Caused by: java.lang.IllegalStateException: Invalid configuration:  
> 'exchange' must be non-null.
>  
>  
> at com.rabbitmq.client.impl.AMQImpl$Queue$Bind.(AMQImpl.java:1506)  
> at com.rabbitmq.client.AMQP$Queue$Bind$Builder.build(AMQP.java:840)  
Exchange in queue.bind ends up being null. Unfortunately, it's not possible to tell why unless you are
willing to post relevant parts of your Spring configuration. 
--  
MK  
Software Engineer, Pivotal/RabbitMQ
    
    
More information about the rabbitmq-discuss
mailing list