Shan Wang wrote:
Probably this is the reason. I use the following command to start my
cluster:

sudo /usr/sbin/qpidd -p 5673 -t --cluster-name=mycluster --store-dir
/export/home/amqmadm/qpidclus --auth no --ssl-cert-password-file
/export/home/amqmadm/sandbox/cert.password --ssl-cert-db
/export/home/amqmadm/sandbox/test_cert_db

The /etc/qpidd.conf file is empty, so I guess there's no heartbeat
setup? How can I set the heartbeat in config file or through command
line? I can't find any clues in the documents.

You set the heartbeat through the client on a per-connection basis. The ConnectionSettings class has a heartbeat field indicating the interval (in seconds) at which heartbeats should be sent. You can pass an instance of this class to Connection::open().


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to