亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jmsqueueconnection.java

?? 一個java方面的消息訂閱發(fā)送的源碼
?? JAVA
字號:
/**
 * Redistribution and use of this software and associated documentation
 * ("Software"), with or without modification, are permitted provided
 * that the following conditions are met:
 *
 * 1. Redistributions of source code must retain copyright
 *    statements and notices.  Redistributions must also contain a
 *    copy of this document.
 *
 * 2. Redistributions in binary form must reproduce the
 *    above copyright notice, this list of conditions and the
 *    following disclaimer in the documentation and/or other
 *    materials provided with the distribution.
 *
 * 3. The name "Exolab" must not be used to endorse or promote
 *    products derived from this Software without prior written
 *    permission of Exoffice Technologies.  For written permission,
 *    please contact info@exolab.org.
 *
 * 4. Products derived from this Software may not be called "Exolab"
 *    nor may "Exolab" appear in their names without prior written
 *    permission of Exoffice Technologies. Exolab is a registered
 *    trademark of Exoffice Technologies.
 *
 * 5. Due credit should be given to the Exolab Project
 *    (http://www.exolab.org/).
 *
 * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS
 * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
 * EXOFFICE TECHNOLOGIES OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * Copyright 2000-2005 (C) Exoffice Technologies Inc. All Rights Reserved.
 *
 * $Id: JmsQueueConnection.java,v 1.2 2005/03/18 03:36:37 tanderson Exp $
 */
package org.exolab.jms.client;


import javax.jms.ConnectionConsumer;
import javax.jms.InvalidSelectorException;
import javax.jms.JMSException;
import javax.jms.Queue;
import javax.jms.QueueConnection;
import javax.jms.QueueSession;
import javax.jms.ServerSessionPool;
import javax.jms.Topic;


/**
 * Client implementation of the <code>javax.jms.QueueConnection</code>
 * interface.
 *
 * @author <a href="mailto:jima@exoffice.com">Jim Alateras</a>
 * @author <a href="mailto:tma@netspace.net.au">Tim Anderson</a>
 * @version $Revision: 1.2 $ $Date: 2005/03/18 03:36:37 $
 * @see javax.jms.QueueConnection
 */
class JmsQueueConnection extends JmsConnection implements QueueConnection {

    /**
     * Construct a new <code>JmsQueueConnection</code>.
     * <p/>
     * This attempts to establish a connection to the JMS server
     *
     * @param factory  the connection factory responsible for creating this
     * @param clientID the pre-configured client identifier. May be
     *                 <code>null</code>
     * @param username the client username
     * @param password the client password
     * @throws JMSException if a connection cannot be established
     */
    public JmsQueueConnection(JmsConnectionFactory factory, String clientID,
                              String username, String password)
            throws JMSException {
        super(factory, clientID, username, password);
    }

    /**
     * Create a new queue session.
     *
     * @param transacted if <code>true</code>, the session is transacted.
     * @param ackMode    indicates whether the consumer or the client will
     *                   acknowledge any messages it receives. This parameter
     *                   will be ignored if the session is transacted. Legal
     *                   values are <code>Session.AUTO_ACKNOWLEDGE</code>,
     *                   <code>Session.CLIENT_ACKNOWLEDGE</code> and
     *                   <code>Session.DUPS_OK_ACKNOWLEDGE</code>.
     * @return the new queue session
     * @throws JMSException if the session cannot be created
     */
    public QueueSession createQueueSession(boolean transacted, int ackMode)
            throws JMSException {

        ensureOpen();
        setModified();

        JmsQueueSession session = new JmsQueueSession(this, transacted,
                                                      ackMode);

        // if the connection is started then also start the session
        if (!isStopped()) {
            session.start();
        }

        // add it to the list of managed sessions for this connection
        addSession(session);

        return session;
    }

    /**
     * Create a connection consumer for this connection
     *
     * @param queue       the queue to access
     * @param selector    the message selector. May be <code>null</code>
     * @param pool        the server session pool to associate with the
     *                    consumer
     * @param maxMessages the maximum number of messages that can be assigned to
     *                    a server session at one time
     * @return the new connection consumer
     * @throws InvalidSelectorException if the message selector is invalid
     * @throws JMSException             if the connection consumer cannot be
     *                                  created
     */
    public ConnectionConsumer createConnectionConsumer(Queue queue,
                                                       String selector,
                                                       ServerSessionPool pool,
                                                       int maxMessages)
            throws JMSException {
        return super.createConnectionConsumer(queue, selector, pool,
                                              maxMessages);
    }

    /**
     * This implementation always throws <code>IllegalStateException</code>,
     * as per section 4.11 of the JMS specification.
     *
     * @throws IllegalStateException if invoked
     */
    public ConnectionConsumer createDurableConnectionConsumer(
            Topic topic, String subscriptionName, String messageSelector,
            ServerSessionPool sessionPool, int maxMessages)
            throws JMSException {
        throw new IllegalStateException("Invalid operation for QueueConnection");
    }

}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜激情网页| 精品国产乱码久久久久久闺蜜 | 91视频免费观看| 欧美激情一区二区三区不卡 | 老司机精品视频一区二区三区| 欧美综合一区二区三区| 亚洲chinese男男1069| 欧美一区二区三区视频在线观看| 轻轻草成人在线| 国产午夜精品理论片a级大结局| 成人做爰69片免费看网站| 亚洲婷婷综合久久一本伊一区| 欧美吻胸吃奶大尺度电影| 午夜欧美在线一二页| 精品国精品国产| av激情综合网| 日韩黄色免费电影| 国产无一区二区| 色哟哟精品一区| 免费三级欧美电影| 国产精品美女久久久久高潮| 欧美午夜精品一区二区三区| 久久精品噜噜噜成人av农村| 国产精品天美传媒沈樵| 欧美日韩中文另类| 国产一区二区三区日韩| 最新国产成人在线观看| 日韩小视频在线观看专区| 成人av网站免费| 日韩av电影天堂| 亚洲天堂福利av| 欧美大尺度电影在线| 99久精品国产| 精品综合久久久久久8888| 亚洲男人的天堂av| 日韩一区二区三区观看| 97久久超碰国产精品电影| 另类欧美日韩国产在线| 夜夜精品视频一区二区| 国产亚洲美州欧州综合国| 欧美日韩情趣电影| 本田岬高潮一区二区三区| 视频一区二区三区在线| 亚洲天堂网中文字| 精品国产一区二区在线观看| 欧美视频一区二| 99精品视频在线播放观看| 国产乱码精品一区二区三区av| 亚洲一区二区三区四区在线观看| 欧美国产视频在线| 欧美xxxx在线观看| 欧美精品一二三四| 色噜噜狠狠色综合中国| 成年人国产精品| 黄页视频在线91| 免费美女久久99| 午夜精品在线看| 亚洲男人电影天堂| 国产精品毛片久久久久久久| 欧美mv日韩mv| 欧美一区三区二区| 欧美精品v国产精品v日韩精品| 91久久精品一区二区三区| 99视频一区二区| 成人一区二区三区在线观看| 国产美女娇喘av呻吟久久| 麻豆成人久久精品二区三区小说| 午夜成人在线视频| 亚洲成人精品影院| 亚洲福利视频一区二区| 亚洲一区二区三区视频在线播放 | 91久久免费观看| 色综合天天综合色综合av| 成人动漫精品一区二区| 成人开心网精品视频| 成人丝袜视频网| 成人免费视频视频| 成人免费视频免费观看| 不卡的电影网站| 91视视频在线观看入口直接观看www| 成人午夜免费av| www.在线欧美| 色婷婷久久一区二区三区麻豆| 99国产精品久久久久| 色久综合一二码| 在线日韩一区二区| 欧美体内she精高潮| 欧美精品乱码久久久久久按摩| 欧美群妇大交群的观看方式| 4438亚洲最大| 欧美成人伊人久久综合网| 国产亚洲欧洲一区高清在线观看| 国产欧美日韩在线视频| 国产精品久久午夜| 亚洲免费大片在线观看| 亚洲午夜精品网| 另类小说欧美激情| 国产·精品毛片| 色94色欧美sute亚洲线路二| 欧美日韩视频一区二区| 精品国一区二区三区| 欧美国产一区二区| 一区二区三区四区高清精品免费观看| 一区二区三区四区不卡在线| 亚洲福利一区二区| 国产一区二区视频在线| www.亚洲精品| 欧美理论电影在线| 久久综合久久综合九色| 综合在线观看色| 亚洲va国产va欧美va观看| 国内精品第一页| 91同城在线观看| 日韩女同互慰一区二区| 亚洲天堂成人网| 老色鬼精品视频在线观看播放| 国产91精品久久久久久久网曝门| 一道本成人在线| 日韩欧美你懂的| 中文字幕+乱码+中文字幕一区| 一区二区成人在线| 蜜桃视频一区二区三区| 国产91精品一区二区麻豆网站| 91久久精品一区二区三| 日韩欧美第一区| 中文字幕永久在线不卡| 日本不卡视频一二三区| 波多野结衣在线aⅴ中文字幕不卡| 欧美军同video69gay| 亚洲欧洲一区二区三区| 青草av.久久免费一区| 97精品国产97久久久久久久久久久久| 日韩欧美国产系列| 亚洲精品视频免费观看| 国产成+人+日韩+欧美+亚洲| 在线播放中文一区| 一区二区免费在线| 亚洲.国产.中文慕字在线| 国产不卡在线视频| 欧美一区二区三区视频在线| 一区二区三区四区不卡在线| 成人一区二区在线观看| 精品国精品国产尤物美女| 午夜精品福利一区二区蜜股av| 99热在这里有精品免费| 久久久久久久久久电影| 日本不卡免费在线视频| 欧美喷潮久久久xxxxx| 亚洲精品国产无天堂网2021| 不卡一区二区在线| 欧美韩日一区二区三区四区| 精品综合久久久久久8888| 制服.丝袜.亚洲.另类.中文| 亚洲国产人成综合网站| 色狠狠av一区二区三区| 中文字幕亚洲不卡| 暴力调教一区二区三区| 国产精品久久久久久久久免费相片 | 狠狠色丁香久久婷婷综| 欧美一级在线免费| 日韩成人精品视频| 正在播放亚洲一区| 午夜一区二区三区视频| 91香蕉视频污在线| 亚洲乱码中文字幕| 91一区一区三区| 亚洲乱码国产乱码精品精98午夜 | 欧美激情中文不卡| 国产91在线观看| 国产精品丝袜黑色高跟| 成人av在线资源网| 亚洲色图19p| 欧美亚洲综合色| 亚洲成人av电影| 欧美久久久影院| 日本在线不卡一区| 日韩亚洲欧美一区| 国产在线播精品第三| 中文字幕第一区二区| 91免费在线视频观看| 亚洲图片有声小说| 欧美一级在线观看| 国产精品中文字幕一区二区三区| 国产日韩在线不卡| 99精品1区2区| 午夜精品爽啪视频| 欧美精品一区二| 成人av免费观看| 亚洲一区二区三区小说| 日韩美女视频一区二区在线观看| 久久激情五月激情| 国产精品天美传媒沈樵| 在线免费亚洲电影| 久久精品二区亚洲w码| 国产精品乱子久久久久| 欧美性生活影院| 久久成人久久爱| 一区精品在线播放| 91精品国产综合久久蜜臀| 国产高清精品网站|