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 | 82d128b33fac55b8618d593c89283356ee4e192b (patch) | |
| tree | 7563a8bffcc1b5fbbf95d79ddf40603b10413ba4 /java | |
| parent | 37eb4dbcb7492e048d9a70d02ebf4c3a90fc6347 (diff) | |
| download | qpid-python-82d128b33fac55b8618d593c89283356ee4e192b.tar.gz | |
The methods in MessageSender are refactored into the Session class
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@561459 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
| -rw-r--r-- | java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java b/java/client/src/main/java/org/apache/qpid/nclient/api/MessageSender.java deleted file mode 100644 index 54badefcc6..0000000000 --- a/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; -} |
