Sorry about that The URI parsing code in there right now is sort of a hack, that's on my list of things to fix. If you change the code to this
ActiveMQConnectionFactory* connectionFactory = new ActiveMQConnectionFactory("tcp://127.0.0.1:61613"); It should work for you. I'll try and get a patch together to fix that example code. ------------------------------------------------- Timothy A. Bish [EMAIL PROTECTED] -----Original Message----- From: arashad [mailto:[EMAIL PROTECTED] Sent: Saturday, July 08, 2006 2:11 AM To: activemq-dev@geronimo.apache.org Subject: Re: Update to the wiki for the ActiveMQ CPP library Importance: High Hi, This file main.cpp gives the following run time Exception what is wrong... ######################### ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 - tid: 1078750128 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 209 - tid: 1078750128 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 242 - tid: 1078750128 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 168 - tid: 1078750128 ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 209 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 242 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 168 ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 - tid: 1080851376 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 209 - tid: 1080851376 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 242 - tid: 1080851376 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 168 - tid: 1080851376 ActiveMQConnectionFactory::parseURL - Marlformed URI: 127.0.0.1:61613 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 209 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 242 FILE: /home/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp, LINE: 168 ########################## So please help me Thanks and regards Arashad Ahamad -- View this message in context: http://www.nabble.com/Update-to-the-wiki-for-the-ActiveMQ-CPP-library-tf1901 655.html#a5228427 Sent from the ActiveMQ - Dev forum at Nabble.com.