QPID-5555 : [Java Broker] Modify implementation of Queues to provide better notions of exclusivity and lifetime

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569109 13f79535-47bb-0310-9956-ffa450edef68
QPID-5558 : [Java Broker] update management node to follow definitions in working draft 06

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569115 13f79535-47bb-0310-9956-ffa450edef68
QPID-5556: Provide the right Perl packages in top-level modules.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569117 13f79535-47bb-0310-9956-ffa450edef68
QPID-5559 : [Java Broker] remove unused methods from AMQQueue interface

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569119 13f79535-47bb-0310-9956-ffa450edef68
QPID-4000 : [Java Broker] add initial conversions from AMQP 1.0 messages to 0-8 and 0-10

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569151 13f79535-47bb-0310-9956-ffa450edef68
QPID-5555 : Fix queue exclusivity issues

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569245 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Fix build error in ha_test_max_queues for release builds.

argc was only being tested in an assert which was compiled out for release builds.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569400 13f79535-47bb-0310-9956-ffa450edef68
QPID-5555 : fix breakage in the broker QMF plugin caused by rework to broker internals

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569525 13f79535-47bb-0310-9956-ffa450edef68
QPID-5562 : [Java Broker] make all failed ACL checks throw AccessControlException

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569552 13f79535-47bb-0310-9956-ffa450edef68
QPID-5563 : [Java Broker] [AMQP 1.0] Use the hostname field in the open frame to select the virtual host

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569563 13f79535-47bb-0310-9956-ffa450edef68
QPID-5566 : DestinationImpl should implement neither Queue nor Topic

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569914 13f79535-47bb-0310-9956-ffa450edef68
QPID-5549: windows ssl over AMQP 1.0

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569916 13f79535-47bb-0310-9956-ffa450edef68
QPID-5567 : Always Use AccessControllerContext to find the current context Subject

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569934 13f79535-47bb-0310-9956-ffa450edef68
QPID-5568: HA C++ qpid::messaging AMQP 1.0 client failover logging is not clear

The qpid::messaging AMQP 1.0 protocol logging did not give clear information
about reconnection during failover.

This patch simplifies the reconnect logic by collapsing all known addresses from
broker URL and reconnect URLs into a single URL with no duplicates.

It rationalizes the info and notice logging as follows:

# Initial connection with multiple addresses, info logs show the
# full URL, each attempt to connect and the finally connected address.

[Messaging] info Starting connection to amqp:tcp:20.0.10.33:5672,tcp:20.0.10.34:5672,tcp:20.0.10.35:5672
[Messaging] info Connecting to tcp:20.0.10.33:5672
[Messaging] info Failed to connect to tcp:20.0.10.33:5672
[Messaging] info Connecting to tcp:20.0.10.34:5672
[Messaging] info Failed to connect to tcp:20.0.10.34:5672
[Messaging] info Connecting to tcp:20.0.10.35:5672
[Messaging] info Connected to tcp:20.0.10.35:5672

# Re-connection due to a failure. notice logs for the start of reconnection (with full URL)
# and eventual sucess (with individual address). info logs for individual connection attempts.

[Messaging] notice Auto-reconnecting to amqp:tcp:20.0.10.33:5672,tcp:20.0.10.34:5672,tcp:20.0.10.35:5672
[Messaging] info Connecting to tcp:20.0.10.33:5672
[Messaging] info Failed to connect to tcp:20.0.10.33:5672
....
[Messaging] info Connected to tcp:20.0.10.33:5672
[Messaging] notice Auto-reconnected to amqp:tcp:20.0.10.33:5672

The idea here is that there are no logs by default (info is not on by default)
for "normal" behavior, but failover does get a (short) notice log by default.
By turning on info logs you can follow the detailed blow-by-blow of failover
without getting drowned in the detail of debug logs.

Note that final failure to connect is signalled to the application via an exception.
There was not previously any log message for that and I didn't add one.

Additional changes: updated qpid-ping test client to use the messaging library.

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570231 13f79535-47bb-0310-9956-ffa450edef68
QPID-5570 : Client incorrectly acknowledges prefetched messages with client-ack

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570233 13f79535-47bb-0310-9956-ffa450edef68
QPID-5570 : Client incorrectly acknowledges prefetched messages with client-ack

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570234 13f79535-47bb-0310-9956-ffa450edef68
QPID-5567 : Further changes to SecurityMangager

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570239 13f79535-47bb-0310-9956-ffa450edef68
QPID-5563 : Ensure vhost is set as early as possible, on receipt of connection open

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570242 13f79535-47bb-0310-9956-ffa450edef68
QPID-5571 : Java Broker AMQP 1.0 deadlock on close consumer

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570245 13f79535-47bb-0310-9956-ffa450edef68
QPID-5569 : NPE on getStringProperty("JMSXUserId")

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