qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Heartbeating - Java broker
Date Thu, 21 Jan 2016 12:14:19 GMT
On 01/21/2016 11:52 AM, Rob Godfrey wrote:
> On 21 January 2016 at 11:37, RatTac@web.de <RatTac@web.de> wrote:
>
>> Sure, the trace is here  Log.txt
>> <http://qpid.2158936.n2.nabble.com/file/n7636944/Log.txt>
>>
>>  From what I can see in the log, appearantly heartbeats are correctly sent
>> and received by the client.
>> I was assuming that if my client locks in an endless loop no heartbeat
>> signals are addressed. So appearantly there is a detached thread that
>> handles this, right?
>>
>>
> That was my expectation, but I am not familiar with the C++ client - gordon
> can probably confirm.

The qpid::messaging c++ client has a background thread for io (actually 
for 0-10 its a pool of threads shared by connections). So if the 
application/main thread is in an endless loop, heartbeats (and any other 
protocol traffic) can still be received (and responded to).



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message