Tried starting my client with:
tcp://localhost:61616?
wireFormat=openwire&tcpNoDelayEnabled=true&wireFormat.MaxInactivityDurationInitalDelay=9999999&wireFormat.MaxInactivityDuration=9999999
And 
tcp://localhost:61616?
wireFormat=openwire&tcpNoDelayEnabled=true&MaxInactivityDurationInitalDelay=9999999&MaxInactivityDuration=9999999
and
tcp://localhost:61616?
wireFormat=openwire&tcpNoDelayEnabled=true&maxInactivityDurationInitalDelay=9999999&maxInactivityDuration=9999999

>From examining the source I believe the first is right. All produced the
same behavior.


Timothy Bish wrote:
> 
> On Wed, 2009-09-30 at 07:48 -0700, Michael Dehmlow wrote:
>> If I debug an activemq-cpp enabled application using visual studio 9.0 it
>> appears I get kicked of the broker if I'm broken for more then about 20
>> seconds once I resume the application again. This is very annoying as it
>> may
>> take a while to get into a particular state and if you spend too long
>> steping through code you have to restart all over again. Is there a way
>> to
>> get around this problem. 
>> 
>> My theory is that since all threads in the application are "paused" when
>> a
>> break point is hit the active mq thread responsible for handling broker
>> traffic is not doing something (keep alive acknowledgment maybe) it is
>> supposed to and the broker closes the socket on him.
>> 
>> Below is the stack trace for the exception generated after being broken
>> too
>> long:
>> http://www.nabble.com/file/p25682604/exception.gif exception.gif 
> 
> Have you tried increasing the max inactivity duration on your client's
> connection uri?
> 
> param  maxInactivityDuration value = time in milliseconds.
> 
> See:  http://activemq.apache.org/configuring-wire-formats.html
> 
> Regards
> Tim.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-CPP-disconnect-While-Debugging-tp25682604p25965836.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to