retrievemessagerequesterfactory.java
来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 41 行
JAVA
41 行
/* * $Id: RetrieveMessageRequesterFactory.java 11079 2008-02-27 15:52:01Z 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.transport.email;import org.mule.api.MuleException;import org.mule.api.endpoint.InboundEndpoint;import org.mule.api.transport.MessageRequester;import org.mule.transport.AbstractMessageRequesterFactory;/** * A source of mail receiving message dispatchers. * The dispatcher can only be used to receive message (as apposed to * listening for them). Trying to send or dispatch will throw an * {@link UnsupportedOperationException}. */public class RetrieveMessageRequesterFactory extends AbstractMessageRequesterFactory{ /** * By default client connections are closed after the request. */ // @Override public boolean isCreateRequesterPerRequest() { return true; } public MessageRequester create(InboundEndpoint endpoint) throws MuleException { return new RetrieveMessageRequester(endpoint); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?