Hi You configure this in the connection factory. Some information here: http://camel.apache.org/activemq
So you should change it from tcp://localhost:61616 to the server name and port to use. On Tue, May 19, 2015 at 11:42 AM, Jonasty <[email protected]> wrote: > I have following routes > > @Override > public void configure() throws Exception { > from("activemq:queue:aap").wireTap("activemq:queue:"aapTap"); > > from("activemq:queue:aapTap").process(processor).id("QueueIncoming"); > } > > But when I run this, active MQ looks for my local host, I notice this thanks > to my output: > 2015-05-19 11:35:32,615 INFO (DefaultCamelContext.java:2418) - Apache Camel > 2.15.0 (CamelContext: camel-3) is starting > 2015-05-19 11:35:32,617 INFO (ManagedManagementStrategy.java:187) - JMX is > enabled > 2015-05-19 11:35:32,806 INFO (DefaultTypeConverter.java:56) - Loaded 186 > type converters > 2015-05-19 11:35:33,004 INFO (DefaultCamelContext.java:2633) - > AllowUseOriginalMessage is enabled. If access to the original message is not > needed, then its recommended to turn this option off as it may improve > performance. > 2015-05-19 11:35:33,005 INFO (DefaultCamelContext.java:2643) - > StreamCaching is not in use. If using streams then its recommended to enable > stream caching. See more details at > http://camel.apache.org/stream-caching.html > 2015-05-19 11:35:48,234 WARN (FailoverTransport.java:1109) - Failed to > connect to [tcp://localhost:61616] after: 10 attempt(s) continuing to retry. > 2015-05-19 11:40:04,176 WARN (FailoverTransport.java:1109) - Failed to > connect to [tcp://localhost:61616] after: 20 attempt(s) continuing to retry. > > How can I refer to the public server, instead of localhost. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Camel-make-a-route-to-a-public-Active-MQ-server-tp5767248.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
