📄 retrievemessagerequesterfactory.java
字号:
/* * $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -