From 17d3396edf041440c05ec447b72d25eda5068f5e Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Wed, 28 Jul 2010 21:16:11 +0000 Subject: QPID-2738 The pre-aquire flag is now computed differently for each dest syntax type. For BURL the exchange type is also queried if the Destination is not an instance of AMQTopic. For ADDR, if the browse mode is set, then pre-acquire is set to false irrespective of the node type. We still continue to use pre-acquire=false if selectors are present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980232 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/qpid/client/AMQSession_0_10.java | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'java/client/src') diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java index b2dce0404c..74cd0c8b78 100644 --- a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java +++ b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java @@ -565,9 +565,25 @@ public class AMQSession_0_10 extends AMQSession