Hi,
I am having a problem with the ActiveMQ CPP in combination with ServiceMix's JMS. I got ActiveMQ-CPP 2.2.4 Release running and working correct (verified by the http://activemq.apache.org/cms/example.html example ) when using the ActiveMQ "standalone" service. However, when using apache-servicemix-3.2.1 (activated JMS by dropping in servicemix-jms-3.2.1-installer.zip into service mix's hotdeploy folder), I cant run the example ... meaning, the example won't do what it is supposed to do ... see the output at bottom of mail. It looks like some kind of (30 second) timeout (15 seconds each for producer and cosumer) is reached when trying to get a connection. I also have tried a Java example that is working. So to sum up: Java example works with standalone JMS and Service Mix's JMS C++ example works with standalone JMS BUT NOT with Service Mix's JMS Hard to tell if that is a service mix problem or a ActiveMQ CPP problem ... or a problem on my part ... I am running Debain Linux here btw. Thanks for any help! Following the output of the C++ example ... ===================================================== Starting the example: ----------------------------------------------------- No valid response received for command: Begin Class = ConnectionInfo Value of ConnectionInfo::ID_CONNECTIONINFO = 3 Value of ConnectionId is Below: Begin Class = ConnectionId Value of ConnectionId::ID_CONNECTIONID = 120 Value of Value = 454d670f-2a69-66c9-010f-3aafa2fc02a2 No Data for Class BaseDataStructure End Class = ConnectionId Value of ClientId = be4bfb60-5d43-242a-7a3b-78dfb5ee1d89 Value of Password = Value of UserName = Value of BrokerMasterConnector = 0 Value of Manageable = 0 Value of ClientMaster = 0 Begin Class = BaseCommand No Data for Class BaseDataStructure Response Required = 1 Command Id = 1 End Class = BaseCommand End Class = ConnectionInfo , check broker. FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 112 FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 120 FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 107 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1533 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 249 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 186 FILE: activemq/core/ActiveMQConnectionFactory.cpp, LINE: 173 No valid response received for command: Begin Class = ConnectionInfo Value of ConnectionInfo::ID_CONNECTIONINFO = 3 Value of ConnectionId is Below: Begin Class = ConnectionId Value of ConnectionId::ID_CONNECTIONID = 120 Value of Value = d247a97e-f11e-ef80-003d-3cd337f82fad No Data for Class BaseDataStructure End Class = ConnectionId Value of ClientId = 884a23e6-c74f-1aed-0a7d-941e622ba78d Value of Password = Value of UserName = Value of BrokerMasterConnector = 0 Value of Manageable = 0 Value of ClientMaster = 0 Begin Class = BaseCommand No Data for Class BaseDataStructure Response Required = 1 Command Id = 1 End Class = BaseCommand End Class = ConnectionInfo , check broker. FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 112 FILE: activemq/transport/filters/ResponseCorrelator.cpp, LINE: 120 FILE: activemq/connector/openwire/OpenWireFormatNegotiator.cpp, LINE: 107 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 1533 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 249 FILE: activemq/connector/openwire/OpenWireConnector.cpp, LINE: 186 FILE: activemq/core/ActiveMQConnectionFactory.cpp, LINE: 173 Time to completion = 30.228 seconds. ----------------------------------------------------- Finished with the example. ===================================================== -- View this message in context: http://www.nabble.com/problem-with-ActiveMQ-CPP-in-combination-with-ServiceMix%27s-JMS-tp22336906p22336906.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.