From 574bb9a5d4bef4a3beff214f0c3a38827bd8c171 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Thu, 3 Mar 2011 04:49:50 +0000 Subject: QPID-3106 Instead of checking if it's an instance of AMQQueue, the code the now checks if it's an instance of AMQDestination and javax.jms.Queue to cover the AMQAnyDestination case. The same check is done for topics. Added test cases for QueueReceivers, TopicSubscribers and DurableTopicSubscribers using the new addressing scheme. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076516 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/qpid/client/AMQSession.java | 38 ++++++++++----- .../main/java/org/apache/qpid/client/AMQTopic.java | 55 +++++++++++++--------- 2 files changed, 57 insertions(+), 36 deletions(-) (limited to 'java/client/src') diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQSession.java b/java/client/src/main/java/org/apache/qpid/client/AMQSession.java index 1f940b62f0..5c2949960c 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQSession.java +++ b/java/client/src/main/java/org/apache/qpid/client/AMQSession.java @@ -1043,7 +1043,7 @@ public abstract class AMQSession