diff options
| author | Robert Gemmell <robbie@apache.org> | 2011-01-27 11:19:19 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2011-01-27 11:19:19 +0000 |
| commit | 13f37429f7870d2a85306a0a34aae4cd9ccb1f55 (patch) | |
| tree | 9c2aad740fffa58ff901c1ea572d5902181868fd /qpid/java/client | |
| parent | 3edf381aae19bd212ef4d33f33abdd944da00bcf (diff) | |
| download | qpid-python-13f37429f7870d2a85306a0a34aae4cd9ccb1f55.tar.gz | |
QPID-3022: enable the logging tests and fix issues causing failures due to minor differences between 0-10 and 0-9 behaviour
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1064086 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
| -rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java index 81f1d3e5e7..1eaccf53fc 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java +++ b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java @@ -709,6 +709,20 @@ public class AMQSession_0_10 extends AMQSession<BasicMessageConsumer_0_10, Basic } /** + * deletes an exchange + */ + public void sendExchangeDelete(final String name, final boolean nowait) + throws AMQException, FailoverException + { + getQpidSession().exchangeDelete(name); + // We need to sync so that we get notify of an error. + if (!nowait) + { + sync(); + } + } + + /** * Declare a queue with the given queueName */ public void sendQueueDeclare(final AMQDestination amqd, final AMQProtocolHandler protocolHandler, |
