2008/5/20 Senaka Fernando <[EMAIL PROTECTED]>:

>    <heartbeat>
>        <delay>0</delay>
>        <timeoutFactor>2.0</timeoutFactor>
>    </heartbeat>

This controls the heartbeat settings, that are used to detect client
failures. A non-zero value specifies the time between heartbeats (I'm
guessing the units are seconds but you may want to check that). The
timeout factor specifies the multiple of the delay that is allow to
pass without receiving a heartbeat before the client is considered
dead. For example, if the heartbeat delay was 10 seconds and the
factor 2.0, then after 20 seconds the client would be considered dead.

>    <queue>
>        <auto_register>true</auto_register>
>    </queue>

This is an interesting one. If specifies whether queues get
automatically bound to the direct exchange when declared. Rob - is
this actually specified in the 0-9 protocol now? If it is then
obviously it should be removed as an option.

The reason this is an option was to make it compatible with openamq. I
strongly objected to that behaviour at the time, since it was only
introduced because that product had an API that mirrored the protocol.
I believed at the time, and still do for that matter, that it was done
for the wrong reasons - because someone viewed the protocol as an API
and wanted to provide some syntactic sugar.

RG

Reply via email to