diff options
| author | Keith Wall <kwall@apache.org> | 2013-05-31 09:07:06 +0000 |
|---|---|---|
| committer | Keith Wall <kwall@apache.org> | 2013-05-31 09:07:06 +0000 |
| commit | ed96a2e7aa1615bc315fcc86864dc5fbcc9ce543 (patch) | |
| tree | 15b38573cd07534e5dabdbe8c69494bf4d9a576b /qpid/java/client | |
| parent | 6394420bc141991ad4deb2bcf51a497f0eac28a1 (diff) | |
| download | qpid-python-ed96a2e7aa1615bc315fcc86864dc5fbcc9ce543.tar.gz | |
QPID-4896: Change Drain/Spout not to assume a virtualhost named test
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1488133 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
| -rw-r--r-- | qpid/java/client/example/src/main/java/org/apache/qpid/example/OptionParser.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/java/client/example/src/main/java/org/apache/qpid/example/OptionParser.java b/qpid/java/client/example/src/main/java/org/apache/qpid/example/OptionParser.java index 6aa12f07fa..9360be4106 100644 --- a/qpid/java/client/example/src/main/java/org/apache/qpid/example/OptionParser.java +++ b/qpid/java/client/example/src/main/java/org/apache/qpid/example/OptionParser.java @@ -70,6 +70,8 @@ public class OptionParser private Map<String,Object> optMap = new HashMap<String,Object>(); private static final List<Option> optDefs = new ArrayList<Option>(); + + private static final String CLIENTID = "test"; private String usage; private String desc; @@ -270,7 +272,9 @@ public class OptionParser broker = broker + "?" + bOps + "'"; } buf.append(userPass); - buf.append("@test/test?brokerlist='tcp://"); + buf.append("@"); + buf.append(CLIENTID); + buf.append("/?brokerlist='tcp://"); buf.append(broker).append("'"); if(containsOp(CON_OPTIONS)) { |
