diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2007-09-14 20:43:16 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2007-09-14 20:43:16 +0000 |
| commit | 677f14b7d2df0c970b00803f132eb70e249775dd (patch) | |
| tree | 8915e812d00e343634ec2164353aa54f69a46523 /qpid/java/distribution | |
| parent | 8bc5f9c5f81a55afbccf34f9e710edeee1d61e75 (diff) | |
| download | qpid-python-677f14b7d2df0c970b00803f132eb70e249775dd.tar.gz | |
Took out the URL parsing logic from the AMQConnectionURL and moved in two Parser classes.
The Connection Type (0-8 or 0-10) is decided based on the URL scheme if AMQConnection is created by passing a URL.
In other cases it will be based on a jvm switch. Other constructors in AMQConnection internally constructs an 0-8 URL and call the constrcutor with a URL.
In that case it is difficult to figure out the type of connection with out additional information.
The additional information commes in the form of the following jvm arguments
SwitchCon - enables this switch
0-10 - creates an 0-10 connection and the absence of it creates an 0-8 connection
This was done to minimize any impact on the test code.
currently only one code path can be tested at a given time.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@575789 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/distribution')
0 files changed, 0 insertions, 0 deletions
