diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-31 19:43:57 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-31 19:43:57 +0000 |
| commit | c336db3f7cafdecdf72562f3575b2a5f5a16caa2 (patch) | |
| tree | 5910427c7c8cf35d67fc3b2350c7da7be52d4732 /qpid/java/client | |
| parent | 555f849600ba911c5bca9eb637ba79be2ee9b368 (diff) | |
| download | qpid-python-c336db3f7cafdecdf72562f3575b2a5f5a16caa2.tar.gz | |
The methods in MessageSender are refactored into the Session class
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
| -rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java b/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java deleted file mode 100644 index 54badefcc6..0000000000 --- a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.qpid.nclient.api; - -import org.apache.qpidity.QpidException; - -/** - * A sender is used to send message to its queue. - */ -public interface MessageSender extends Resource -{ - - /** - * Sends a message to this sender queue. - * - * @param message The message to be sent - * @throws QpidException If the sender fails to send the message due to some error. - * @throws IllegalStateException If this sender was closed or its session suspended. - */ - public void send(Message message) - throws - QpidException, - IllegalStateException; -} |
