Review Request #4658 - Created April 5, 2012 and updated
The following patch is based on the various discussions we've had on the dev list about restructing our destination implementation. As the first phase this patch only includes the new class heirachy. For the second phase we will tackle the integration into the code base. A summary of the desgin is as follows, 1. Once initialized with the destination string, the destination objects are immutable. 2. There are 2 concrete implementations in the form of QpidTopic and QpidQueue. 3. Destinations will be desginated as "Queues" and "Topics" by the users in the jndi file. This prevents us from having to automagically decide the type. 4. Both BURL and Address strings are parsed and adapted into a common data structure. Internally the code will work with this data structure. 5. The Destination impl does not depend on any other classes, thus allowing it be used with the current code or the new client. (There are 2 oe 3 white space errors that I can't seem to get rid of. It seems they are comming from the diff process).