All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.camel.Channel Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.camel;

/**
 * Channel acts as a channel between {@link Processor}s in the route graph.
 * 

* The channel is responsible for routing the {@link Exchange} to the next {@link Processor} in the route graph. */ public interface Channel extends AsyncProcessor, Navigate { /** * Gets the {@link org.apache.camel.processor.ErrorHandler} this Channel uses. * * @return the error handler, or null if no error handler is used. */ Processor getErrorHandler(); /** * Gets the wrapped output that at runtime should be delegated to. * * @return the output to route the {@link Exchange} to */ Processor getOutput(); /** * Gets the next {@link Processor} to route to (not wrapped) * * @return the next processor */ Processor getNextProcessor(); /** * Gets the {@link Route} * * @return the route context */ Route getRoute(); /** * Gets the definition of the next processor * * @return the processor definition */ NamedNode getProcessorDefinition(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy