From 570de1001ed56d8185af902ea623567771b3eafd Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Thu, 17 Mar 2011 21:56:04 +0000 Subject: QPID-2959 Added a temp hack to get the testReplyToWithNamelessExchange passing with the java.0.10 test profile. In doing so I realized that "qpid.declare_exchanges" has no affect on the producer side. Therefore I added a check in BasicMessageProducer_0_10.java to check this flag before issuing an exchange_declare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1082715 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/qpid/client/AMQSession.java | 5 +++++ .../org/apache/qpid/client/BasicMessageProducer_0_10.java | 15 +++++++++------ .../client/destination/AddressBasedDestinationTest.java | 2 ++ 3 files changed, 16 insertions(+), 6 deletions(-) (limited to 'java') 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 5fc8d43e94..d518d7b2c4 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 @@ -3461,4 +3461,9 @@ public abstract class AMQSession