Thank a lot! It works now! You found the solution! But the way, I think the default value should be 0.0.0.0 in the future servicemix versions. Localhost is a bit too confusing. Regards.
Jean-Baptiste Onofré wrote: > > Hi, > > I think that using tcp://localhost:61616 as brokerURL makes ActiveMQ > listen only on your loopback interface (so 127.0.0.1). > > Could you try to replace localhost by your network IP or 0.0.0.0 ? > > Regards > JB > > jcamus wrote: >> Hi! >> I defined into the ESB a JMS consumer SU. The default port is 61616. This >> is >> the xbean.xml : >> >> >> <jms:consumer service="parkeon:JMSConsumer" >> endpoint="JMSConsumerEndpoint" >> targetService="parkeon:testSplitter" >> destinationName="MyQueue" >> connectionFactory="#connectionFactory" /> >> >> <bean id="connectionFactory" >> class = "org.apache.activemq.ActiveMQConnectionFactory"> >> <property name="brokerURL" value="tcp://localhost:61616" /> >> </bean> >> </beans> >> >> When I try with a JMS java client (sending message to the queue MyQueue) >> running on the same machine as the ESb. It works fine. >> But if I try running the JMS java client on another machine, I received >> the >> following error : >> Connect failed. Could not connect to port 61616. >> >> Where I am wrong in the JMS configuration of the ESB. >> I tried many things : changed the default port (into conf\activemq.xml >> and >> servicemix.properties). >> No firewall is running on my PC. >> >> Another thing : when I run the activemq server application, the remote >> client can't connect on port 61616. The problem seems clearly into the >> ESB >> but where? >> >> Regards >> >> > > -- View this message in context: http://www.nabble.com/Can%27t-connect-to-JMS-queue-consumer-from-a-remote-client-tp25505792p25507432.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
