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 | 8c724c78c9cc4db80594650bf195c902a8ea5ac0 (patch) | |
| tree | 95d7c3364833076c618c9d69a213676051f0d57d /java/client/src | |
| parent | 16d8a8c97129fc297aedf2da671ea787f12f96dc (diff) | |
| download | qpid-python-8c724c78c9cc4db80594650bf195c902a8ea5ac0.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/src')
| -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)"); } } |
