QPID-3603: Add finalizer for HaPlugin, fix hang on exit not responding to kill -TERM.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338264 13f79535-47bb-0310-9956-ffa450edef68
QPID-3990: Multiple XAResources isSameRM behavior
    *Track XAResource siblings in start/end methods
    *Added AMQXAResource interface
    *Added systemtest for new XAResource behavior
    *Refactored XAResourceTest to extend AbstractXATest

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338355 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Fix bug in RangeSet when insterting a range that covers multiple ranges.

See new tests added to tests/RangeSet.cpp testRangeSetAddRange

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338364 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Reduce message for missing lock file from critical to notice.

If qpidd -q can't find the lock file, it used to issue a critical error message.
This is to harsh, not finding the lock file usually just means the broker isn't running.
Demoted to a notice message.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338365 13f79535-47bb-0310-9956-ffa450edef68
QPID-3990:
    *Fixed inefficient and unnecessary log entry in XAResourceImpl.javal

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338369 13f79535-47bb-0310-9956-ffa450edef68
QPID-3994: add properties for libraries used only in the build


git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338426 13f79535-47bb-0310-9956-ffa450edef68
QPID-3994: add ability to specify -Doptional=true to enable all optional modules and download of optional dependencies


git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338428 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA : Updates to Apache registered AMQP 1.0 filters

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338672 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA : Updates to Apache registered AMQP 1.0 filters

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338691 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA : Updates to Apache registered AMQP 1.0 filters

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338694 13f79535-47bb-0310-9956-ffa450edef68
QPID-3994: add missed dep to the -Doptional=true switch

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338718 13f79535-47bb-0310-9956-ffa450edef68
QPID-3996 : [Java Broker] update BDB depency to latest version

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338878 13f79535-47bb-0310-9956-ffa450edef68
QPID-3996 : [Java Broker] update BDB depency to latest version

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338884 13f79535-47bb-0310-9956-ffa450edef68
QPID-3603: HA broker backup/primary ready checks.

- Introduce HA broker state machien
- Inform backup queues when ready.
- Incomplete implementation of backup ready check.
 - does not count correctly after a failover, see countUnready.
 - Existing replicator bridges updated out of sync with BrokerReplicator initialize.
 - Does not handle multi-messages responses.
- Newly promoted HA primary waits for backups to be ready before accepting clients.

- Uniform log prefixes for HA messages.
- qpid-ha tests, call qpid-ha python code directly.

- Move excluder from Backup to HaBroker, it is also used in PROMOTING.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338889 13f79535-47bb-0310-9956-ffa450edef68
QPID-3603: HA primary marks ReplicatingSubscription ready immediately if queue is empty.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338890 13f79535-47bb-0310-9956-ffa450edef68
QPID-3603: HA backup brokers don't connect to self when searching for primary.

Also: BrokerReplicator destroys bridge in destructor.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338891 13f79535-47bb-0310-9956-ffa450edef68
QPID-3603: Fix inconsistent use of bridge-name and queue-name for bridge sessions.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338892 13f79535-47bb-0310-9956-ffa450edef68
QPID-3603: Test fixes to ha_tests.py

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338893 13f79535-47bb-0310-9956-ffa450edef68
QPID-3603: HA remove backup Replicator code to track unready queues.

Tracking readiness will be done on the primary with qmf notification to backup.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338894 13f79535-47bb-0310-9956-ffa450edef68
QPID-3603: HA rename "promoting" to "recovering"

Better term, a broker in failover recovers to become the primary, hence recovering.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338898 13f79535-47bb-0310-9956-ffa450edef68