<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Not sure why I keep getting the below exception .. <o:p></o:p></p>
<p class="MsoNormal">From the logs it looks like it has exchange reference ..but still get this … any help<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,765 SimpleAsyncTaskExecutor-1 - Starting consumer Consumer: tag=[null], channel=null, acknowledgeMode=AUTO local queue size=0</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,835 SimpleAsyncTaskExecutor-1 - Initializing declarations</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,835 SimpleAsyncTaskExecutor-1 - Returning cached instance of singleton bean 'exchange1'</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,836 SimpleAsyncTaskExecutor-1 - Returning cached instance of singleton bean 'queue1'</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,836 SimpleAsyncTaskExecutor-1 - Returning cached instance of singleton bean 'org.springframework.amqp.rabbit.config.DLCoreBindingFactoryBean#0'</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,847 SimpleAsyncTaskExecutor-1 - Creating cached Rabbit Channel from AMQChannel(amqp://mongo@192.168.128.102:5672/,1)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,858 SimpleAsyncTaskExecutor-1 - Executing callback on RabbitMQ Channel: Cached Rabbit Channel: AMQChannel(amqp://mongo@192.168.128.102:5672/,1)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,858 SimpleAsyncTaskExecutor-1
<b>- declaring Exchange 'mongo.device.entity.exchange'</b></span><b><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,863 SimpleAsyncTaskExecutor-1 - declaring Queue 'mongo.device.entity.exchange.QUEUE'</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,870 SimpleAsyncTaskExecutor-1 - Binding destination [mongo.device.entity.exchange.QUEUE (QUEUE)] to exchange [null] with
routing key [*]</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,872 main - Successfully started bean 'dlListenerContainer'</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,873 main - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalScheduledAnnotationProcessor'</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,874 main - Returning cached instance of singleton bean 'org.springframework.amqp.rabbit.config.DLCoreBindingFactoryBean#0'</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,879 main - ***********************************************</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,879 main - ************DLCORE MBUS - START****************</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:52,879 main - ***********************************************</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> 27 May 2014 14:24:57,873 SimpleAsyncTaskExecutor-1 - Consumer raised exception, processing can restart if the connection factory supports it</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">
</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">org.springframework.amqp.UncategorizedAmqpException</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">:
</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">java.lang.IllegalStateException</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">: Invalid configuration:
<b>'exchange' must be non-null.</b></span><b><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitExceptionTranslator.java:60</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.connection.RabbitAccessor.convertRabbitAccessException(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitAccessor.java:108</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitTemplate.java:632</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.core.RabbitAdmin.initialize(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitAdmin.java:352</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.core.RabbitAdmin$11.onCreate(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitAdmin.java:286</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.connection.CompositeConnectionListener.onCreate(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">CompositeConnectionListener.java:31</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">CachingConnectionFactory.java:230</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils$1.createConnection(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">ConnectionFactoryUtils.java:77</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.doGetTransactionalResourceHolder(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">ConnectionFactoryUtils.java:125</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.getTransactionalResourceHolder(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">ConnectionFactoryUtils.java:67</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.start(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">BlockingQueueConsumer.java:200</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">SimpleMessageListenerContainer.java:527</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at java.lang.Thread.run(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">Thread.java:662</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">Caused by:
</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">java.lang.IllegalStateException</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">: Invalid configuration: 'exchange' must be non-null.</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at com.rabbitmq.client.impl.AMQImpl$Queue$Bind.<init>(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">AMQImpl.java:1506</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at com.rabbitmq.client.AMQP$Queue$Bind$Builder.build(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">AMQP.java:840</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at com.rabbitmq.client.impl.ChannelN.queueBind(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">ChannelN.java:790</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at com.rabbitmq.client.impl.ChannelN.queueBind(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">ChannelN.java:61</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at sun.reflect.NativeMethodAccessorImpl.invoke0(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">Native Method</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at sun.reflect.NativeMethodAccessorImpl.invoke(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">NativeMethodAccessorImpl.java:39</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at sun.reflect.DelegatingMethodAccessorImpl.invoke(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">DelegatingMethodAccessorImpl.java:25</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at java.lang.reflect.Method.invoke(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">Method.java:597</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.connection.CachingConnectionFactory$CachedChannelInvocationHandler.invoke(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">CachingConnectionFactory.java:348</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at $Proxy7.queueBind(Unknown Source)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.core.RabbitAdmin.declareBindings(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitAdmin.java:446</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.core.RabbitAdmin.access$300(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitAdmin.java:51</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.core.RabbitAdmin$12.doInRabbit(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitAdmin.java:356</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black"> at org.springframework.amqp.rabbit.core.RabbitTemplate.execute(</span><u><span style="font-size:10.0pt;font-family:Consolas;color:#0066CC">RabbitTemplate.java:627</span></u><span style="font-size:10.0pt;font-family:Consolas;color:black">)</span><span style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:black"> ... 10 more</span><o:p></o:p></p>
</div>
</body>
</html>