If i am using the ActiveMQ-CPP library, does it matter what activemq broker version do i use. Currently I am using the latest release, which is 4.1.1. I pretty much grabbed the example from the website. Here is the configuration:
<broker brokerName="localhost" useJmx="true" persistent="false" xmlns="http://activemq.org/config/1.0"> <destinationPolicy> <policyMap><policyEntries> <policyEntry topic="FOO.>"> <dispatchPolicy> <strictOrderDispatchPolicy /> </dispatchPolicy> <subscriptionRecoveryPolicy> <lastImageSubscriptionRecoveryPolicy /> </subscriptionRecoveryPolicy> </policyEntry> </policyEntries></policyMap> </destinationPolicy> persistenceAdapter> <memoryPersistenceAdapter/> <!-- <journaledJDBC journalLogFiles="5" dataDirectory="${activemq.base}/activemq-data"/> --> <!-- To use a different datasource, use the following syntax : --> <!-- <journaledJDBC journalLogFiles="5" dataDirectory="../activemq-data" dataSource="#postgres-ds"/> --> </persistenceAdapter> <transportConnectors> <transportConnector name="openwire" uri="tcp://localhost:61616" /> <!-- discoveryUri="multicast://default"/> --> <transportConnector name="ssl" uri="ssl://localhost:61617"/> <transportConnector name="stomp" uri="stomp://localhost:61613"/> </transportConnectors> <networkConnectors> <!-- by default just auto discover the other brokers --> <!-- <networkConnector name="default-nc" uri="multicast://default" failover="false"/> --> <networkConnector name="host1" uri="static://(tcp://157.185.37.184:61616)" failover="true" /> <!-- <networkConnector name="host1 and host2" uri="static://(tcp://host1:61616,tcp://host2:61616)" failover="true"/> --> </networkConnectors> </broker> The reason why I ask is I have a consumer and producer running on two different computers connected via LAN and for some reason I keep loosing the connection. Sometimes i successfully reconnects and I am able to receive the messages but of the time it stops and the consumer is unable to receive any messages. I feel like I am missing something here. I would appreciate any help. Thanks, Arpit -- View this message in context: http://www.nabble.com/connection-issues-tf4649649s2354.html#a13283377 Sent from the ActiveMQ - User mailing list archive at Nabble.com.