summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2007-07-25 21:00:19 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2007-07-25 21:00:19 +0000
commit0b26b443b29eb64a751d6180afefb2226e8c972b (patch)
tree719add65ec4f9bd8254963efe34994dce3496350
parent6c642fe295a5a461d0228763e3bc182ac909d490 (diff)
downloadqpid-python-0b26b443b29eb64a751d6180afefb2226e8c972b.tar.gz
code for session delegate
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559603 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/src/main/java/org/apache/qpid/nclient/api/Session.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java b/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java
index 50456378aa..8a88079a98 100644
--- a/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java
+++ b/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java
@@ -161,7 +161,7 @@ public interface Session
* @param nowait nowait
* @throws QpidException If the session fails to bind the queue due to some error.
*/
- public void bindQueue(String queueName, String exchangeName, String routingKey, boolean nowait)
+ public void bindQueue(String queueName, String exchangeName, String routingKey)
throws
QpidException;
//Todo: Do we need to define more specific exceptions like exchange does not exist?
@@ -187,7 +187,7 @@ public interface Session
* @param nowait nowait
* @throws QpidException If the session fails to purge the queue due to some error.
*/
- public void purgeQueue(String queueName, boolean nowait)
+ public void purgeQueue(String queueName)
throws
QpidException;
@@ -224,7 +224,7 @@ public interface Session
* @throws QpidException If the session fails to declare the exchange due to some error.
* @see DeclareExchangeOption
*/
- public void declareExchange(String exchangeName, String exchangeClass, DeclareExchangeOption... options)
+ public void declareExchange(String exchangeName, String exchangeClass, String alternateExchange, DeclareExchangeOption... options)
throws
QpidException;
//Todo: Do we need to define more specific exceptions like exchange already exist?