⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messagerequester.java

📁 提供ESB 应用mule源代码 提供ESB 应用mule源代码
💻 JAVA
字号:
/* * $Id: MessageRequester.java 12606 2008-09-03 17:09:08Z tcarlson $ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package org.mule.api.transport;/** * Combine {@link org.mule.api.transport.MessageRequesting} with * various lifecycle methods for the actual instances doing message sending. */public interface MessageRequester extends Connectable, MessageRequesting{    /**     * This method can perform necessary state updates before any of the     * {@link org.mule.api.transport.MessageDispatching} methods are invoked.     *     * @see {@link org.mule.api.transport.MessageDispatcherFactory#activate(org.mule.api.endpoint.ImmutableEndpoint, org.mule.api.transport.MessageDispatcher)}     */    void activate();    /**     * After receiving a message, the dispatcher can use this method e.g. to     * clean up its internal state (if it has any) or return pooled resources to     * whereever it got them during {@link #activate()}.     *     * @see {@link org.mule.api.transport.MessageDispatcherFactory#passivate(org.mule.api.endpoint.ImmutableEndpoint, org.mule.api.transport.MessageDispatcher)}     */    void passivate();    /**     * Determines whether this dispatcher can be reused after message receiving.     *     * @return <code>true</code> if this dispatcher can be reused,     *         <code>false</code> otherwise (for example when     *         {@link org.mule.api.lifecycle.Disposable#dispose()} has been called because an Exception was     *         raised)     */    boolean validate();    /**     * Gets the connector for this dispatcher     *     * @return the connector for this dispatcher     */    Connector getConnector();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -