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 | 6c6107a55aea855216333bb40f5b1e7a915c80aa (patch) | |
| tree | 90bf65bc6fe5b48ada7cecdbb82fd7129a4d0697 /qpid/java/client/src | |
| parent | 28ad82a0cb1369ae5066e4056453967489e4bd11 (diff) | |
| download | qpid-python-6c6107a55aea855216333bb40f5b1e7a915c80aa.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@1442647 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client/src')
| -rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java b/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java index 308c63923e..98fa6de675 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageProducer.java +++ b/qpid/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)"); } } |
