responseroutercollection.java
来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 55 行
JAVA
55 行
/* * $Id: ResponseRouterCollection.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.api.routing;import org.mule.api.MuleEvent;import org.mule.api.MuleException;import org.mule.api.MuleMessage;import org.mule.api.endpoint.InboundEndpoint;import java.util.List;/** * <code>ResponseRouterCollection</code> is a router that can be used to control * how the response in a request/response message flow is created. Its main use case * is to aggregate a set of asynchonous events into a single response. */public interface ResponseRouterCollection extends RouterCollection{ void route(MuleEvent event) throws RoutingException; MuleMessage getResponse(MuleMessage message) throws MuleException; ResponseRouter removeRouter(ResponseRouter router); void addEndpoint(InboundEndpoint endpoint); boolean removeEndpoint(InboundEndpoint endpoint); List getEndpoints(); /** * @param name the Endpoint identifier * @return the Endpoint or null if the endpointUri is not registered * @see ResponseRouterCollection */ InboundEndpoint getEndpoint(String name); void setEndpoints(List endpoints); int getTimeout(); void setTimeout(int timeout); boolean hasEndpoints();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?