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

ru.yandex.qatools.camelot.common.PluginMethodSplitStrategy Maven / Gradle / Ivy

There is a newer version: 2.5.4
Show newest version
package ru.yandex.qatools.camelot.common;

import org.apache.camel.Exchange;
import ru.yandex.qatools.camelot.api.annotations.Split;
import ru.yandex.qatools.camelot.config.PluginContext;

import java.util.List;

/**
 * @author Ilya Sadykov (mailto: [email protected])
 */
public class PluginMethodSplitStrategy extends AbstractPluginMethodStrategy implements SplitStrategy {

    public PluginMethodSplitStrategy(PluginContext pluginContext) {
        super(pluginContext, Split.class);
    }

    @Override
    public List split(Exchange exchange) {
        return (List) dispatchEvent(exchange);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy