From 58f0aa001f952350e91eb9fc3d992a00cb15c3e2 Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Tue, 5 Feb 2013 16:24:34 +0000 Subject: 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 --- .../src/main/java/org/apache/qpid/client/BasicMessageProducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') 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)"); } } -- cgit v1.2.1