title: No reply received - perhaps a timeout in the template?
body: <p>I have done following RabbitMQ-Spring configuration for RPC call</p>
  
  <p>Following is the configuration:-</p>
  
  <pre><code>/&gt;
  
  &lt;rabbit:queue name="identity.queue" /&gt;   
  &lt;rabbit:direct-exchange name="identity.exchange"&gt;
      &lt;rabbit:bindings&gt;
          &lt;rabbit:binding queue="identity.queue"  key="identity.binding"/&gt;
      &lt;/rabbit:bindings&gt;
  &lt;/rabbit:direct-exchange&gt;
  &lt;bean id="idenityListener"
      class="org.springframework.amqp.remoting.service.AmqpInvokerServiceExporter"&gt;
      &lt;property name="serviceInterface" value="&lt;&lt;package&gt;.AA" /&gt;
      &lt;property name="service" ref="AAProxy" /&gt;
      &lt;property name="amqpTemplate" ref="template" /&gt;
  &lt;/bean&gt;
  
  &lt;rabbit:listener-container connection-factory="connectionFactory"&gt;
      &lt;rabbit:listener ref="idenityListener" queue-names="identity.queue" /&gt;
  &lt;/rabbit:listener-container&gt;
  
  At client side:-
  
  /&gt;
  
  &lt;bean id="identityClient"
      class="org.springframework.amqp.remoting.client.AmqpProxyFactoryBean"&gt;
      &lt;property name="amqpTemplate" ref="identityTemplate" /&gt;
      &lt;property name="serviceInterface" value="&lt;&lt;package&gt;.AA" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="AAProxy" class="&lt;xx&gt;.AAProxy" init-method="init" /&gt;
  
  &lt;rabbit:template id="identityTemplate" connection-factory="connectionFactory" reply-timeout="2000"
      routing-key="identity.binding" exchange="identity.exchange" /&gt;
  </code></pre>
  
  <p>I am getting the following error while setup for RabbitMQ RPC call. This setup working on same machine and while not working on different machine:-</p>
  
  <pre><code>    Caused by: org.springframework.remoting.RemoteProxyFailureException: No reply received - perhaps a timeout in the template?
              at org.springframework.amqp.remoting.client.AmqpClientInterceptor.invoke(AmqpClientInterceptor.java:60)  
  
  
  **Log file:-**  
  
      =ERROR REPORT==== 19-Feb-2015::10:05:59 ===
      Channel error on connection &lt;0.1474.0&gt; (172.16.206.139:59826 -&gt; 172.16.206.154:5672, vhost: '/', user: 'reetesh'), channel 13:
      {amqp_error,not_found,"no queue 'identity.queue' in vhost '/'",
                  'queue.declare'}    
  
  Whenever I tried to connect I found following above in log.   
  
  
  
  Reetesh
  </code></pre>