Hi,

I run into another problem. If I run the standalone app of activemq in
another host in my network, it just does no receive the messages.

1. I changed "localhost" to the real ip addres.

ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("tcp://192.168.0.1:61616");

2. I made sure that activemq was running.
3. The tcp port is not blocked by a firewall.

The error I see in the tomcat log is the following:

org.apache.camel.RuntimeCamelException:
org.apache.camel.ExchangeTimedOutException: The OUT message was not received
within: 20000 millis on the exchange: Exchange[JmsMessage: select
 * from clients]
        at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:724)
        at
org.apache.camel.impl.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:334)
        at
org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:98)
        at
org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:113)
        at
org.apache.camel.impl.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:176)

It works if it is in the same localhost. 
Any ideas?
-- 
View this message in context: 
http://www.nabble.com/request-reply-with-sql-query-tp25958657p25974866.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to