diff options
| author | Robert Gemmell <robbie@apache.org> | 2013-02-05 16:24:34 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2013-02-05 16:24:34 +0000 |
| commit | 58f0aa001f952350e91eb9fc3d992a00cb15c3e2 (patch) | |
| tree | 95d7c3364833076c618c9d69a213676051f0d57d /java/client | |
| parent | ef99cf5da8833eb4a8a456741566b7a55f7ef64b (diff) | |
| download | qpid-python-58f0aa001f952350e91eb9fc3d992a00cb15c3e2.tar.gz | |
QPID-4312: use the JMS Queue#getQueueName() implementation instead of getName to ensure we actually report the queue name
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442647 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client')
| -rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java b/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java index 308c63923e..98fa6de675 100644 --- a/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java +++ b/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java @@ -615,7 +615,7 @@ public abstract class BasicMessageProducer extends Closeable implements org.apac } else { - throw new InvalidDestinationException("Queue: " + destination.getName() + throw new InvalidDestinationException("Queue: " + destination.getQueueName() + " is not a valid destination (no binding on server)"); } } |
