diff options
| author | Aidan Skinner <aidan@apache.org> | 2008-11-26 17:06:52 +0000 |
|---|---|---|
| committer | Aidan Skinner <aidan@apache.org> | 2008-11-26 17:06:52 +0000 |
| commit | 3f1fe1aafa92fee65f2091e1052b9775e971bba2 (patch) | |
| tree | 0e8769d4b0656bc24301cb03dcbd77ab17cc0704 /java/client/src/main | |
| parent | a39a105d5c2c7af862be913d5e61c727a1de6ad9 (diff) | |
| download | qpid-python-3f1fe1aafa92fee65f2091e1052b9775e971bba2.tar.gz | |
QPID-1487: Make AMQDestination generate URLs with a destination set to the routing key. Add a test for this.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720919 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src/main')
| -rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/AMQDestination.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java b/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java index 4f157d89ea..750599b350 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java +++ b/java/client/src/main/java/org/apache/qpid/client/AMQDestination.java @@ -270,7 +270,7 @@ public abstract class AMQDestination implements Destination, Referenceable sb.append("://"); sb.append(_exchangeName); - sb.append("//"); + sb.append("/"+_routingKey+"/"); if (_queueName != null) { |
