From 0b26b443b29eb64a751d6180afefb2226e8c972b Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Wed, 25 Jul 2007 21:00:19 +0000 Subject: code for session delegate git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@559603 13f79535-47bb-0310-9956-ffa450edef68 --- java/client/src/main/java/org/apache/qpid/nclient/api/Session.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'java/client/src') 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? -- cgit v1.2.1