You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jonasty <jo...@gmail.com> on 2015/05/19 11:45:12 UTC
Error when Accessing a public queue
*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.
Re: Error when Accessing a public queue
Posted by Jonasty <jo...@gmail.com>.
I solved it by replacing the vm for tcp and dropping the parameter
--
View this message in context: http://activemq.2283324.n4.nabble.com/Error-when-Accessing-a-public-queue-tp4696639p4696648.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.