summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2011-03-17 21:56:04 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2011-03-17 21:56:04 +0000
commitd8febd2f9928209b715db37d41fd7abfa153913a (patch)
treeede93fd26f179e700db96e05cdccab65643f79fc /qpid/java/systests/src
parent4a3c90a970302d33c15aecdda7073a8522f3eb15 (diff)
downloadqpid-python-d8febd2f9928209b715db37d41fd7abfa153913a.tar.gz
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@1082715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/systests/src')
-rw-r--r--qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java b/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
index 931833408e..3c6942dbaa 100644
--- a/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
+++ b/qpid/java/systests/src/main/java/org/apache/qpid/test/client/destination/AddressBasedDestinationTest.java
@@ -990,7 +990,9 @@ public class AddressBasedDestinationTest extends QpidBrokerTestCase
public void testReplyToWithNamelessExchange() throws Exception
{
+ System.setProperty("qpid.declare_exchanges","false");
replyToTest("ADDR:my-queue;{create: always}");
+ System.setProperty("qpid.declare_exchanges","true");
}
public void testReplyToWithCustomExchange() throws Exception