activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonasty <jonas.audena...@gmail.com>
Subject Error when Accessing a public queue
Date Tue, 19 May 2015 09:45:12 GMT
*My broker configuration is the following:*
queueRouteBuilder.setProcessor(processor);

        ActiveMQComponent component = new ActiveMQComponent();
       
component.setBrokerURL("vm://10.254.202.86:61616?broker.persistent=false");
        context.addComponent("activemq", component);
        context.addRoutes(queueRouteBuilder);
        context.start();

*My routebuilder*
 @Override
    public void configure() throws Exception {
        from("activemq:queue:" +
propertiesManager.getProperty("queueName")).wireTap("activemq:queue:" +
propertiesManager.getProperty("queueName") + "Tap");
        from("activemq:queue:" + propertiesManager.getProperty("queueName")
+ "Tap").process(processor).id("QueueIncoming");
    }

But when I try to minitor, I get the following *exception*

javax.jms.JMSException: Could not create Transport. Reason:
java.net.URISyntaxException: Illegal character in scheme name at index 0:
10.254.202.86:61616?broker.persistent=false



--
View this message in context: http://activemq.2283324.n4.nabble.com/Error-when-Accessing-a-public-queue-tp4696639.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message