diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-25 21:00:19 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-25 21:00:19 +0000 |
| commit | d64d303f9e774f74d88423621626c7719e353e59 (patch) | |
| tree | 050b75971eff613ebe214b75a3c111ef29a1d2a1 /qpid/java | |
| parent | e394d89609ec5aa56d0d63bf687cf0bb2607c0ea (diff) | |
| download | qpid-python-d64d303f9e774f74d88423621626c7719e353e59.tar.gz | |
code for session delegate
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@559603 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java b/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java index 50456378aa..8a88079a98 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java +++ b/qpid/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? |
