diff --git a/integration/pom.xml b/integration/pom.xml
deleted file mode 100644
index 61b325c..0000000
--- a/integration/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
- 4.0.0
-
-
- org.springframework.plugin
- spring-plugin
- 1.1.0.BUILD-SNAPSHOT
-
-
- spring-plugin-integration
-
- Spring Plugin - Spring Integration integration
-
-
- 2.1.4.RELEASE
-
-
-
-
- ${project.groupId}
- spring-plugin-core
- ${project.version}
-
-
-
- org.springframework.integration
- spring-integration-core
- ${spring.integration.version}
-
-
-
- org.springframework
- spring-context
- ${spring.version}
-
-
-
- org.springframework
- spring-beans
- ${spring.version}
-
-
-
- org.springframework
- spring-test
- ${spring.version}
- test
-
-
-
-
diff --git a/integration/src/main/java/org/springframework/plugin/integration/PluginRegistryAwareMessageHandler.java b/integration/src/main/java/org/springframework/plugin/integration/PluginRegistryAwareMessageHandler.java
deleted file mode 100644
index b9d3f82..0000000
--- a/integration/src/main/java/org/springframework/plugin/integration/PluginRegistryAwareMessageHandler.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
- * Copyright 2011-2012 the original author or authors.
- *
- * Licensed 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.springframework.plugin.integration;
-
-import java.lang.reflect.Method;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.springframework.core.GenericTypeResolver;
-import org.springframework.core.Ordered;
-import org.springframework.core.annotation.Order;
-import org.springframework.expression.Expression;
-import org.springframework.expression.spel.standard.SpelExpressionParser;
-import org.springframework.expression.spel.support.StandardEvaluationContext;
-import org.springframework.integration.Message;
-import org.springframework.integration.MessageHandlingException;
-import org.springframework.integration.handler.AbstractReplyProducingMessageHandler;
-import org.springframework.plugin.core.OrderAwarePluginRegistry;
-import org.springframework.plugin.core.Plugin;
-import org.springframework.plugin.core.PluginRegistry;
-import org.springframework.util.Assert;
-import org.springframework.util.ObjectUtils;
-import org.springframework.util.ReflectionUtils;
-import org.springframework.util.StringUtils;
-
-/**
- * Dynamic service activator that uses a {@link PluginRegistry} to delegate execution to one or more plugins matching a
- * delimiter.
- *
- * @author Oliver Gierke
- */
-public class PluginRegistryAwareMessageHandler extends AbstractReplyProducingMessageHandler {
-
- private static final Log LOG = LogFactory.getLog(PluginRegistryAwareMessageHandler.class);
-
- private final PluginRegistry extends Plugin>, Object> registry;
- private final Class extends Plugin>> pluginType;
- private final Class> delimiterType;
- private final SpelExpressionParser parser = new SpelExpressionParser();
-
- private Expression delimiterExpression;
- private Expression invocationArgumentsExpression;
- private String serviceMethodName;
- private PluginLookupMethod pluginLookupMethod = PluginLookupMethod.getDefault();
-
- /**
- * Creates a new {@link PluginRegistryAwareMessageHandler} for the given {@link PluginRegistry}, pluginType and a
- * method name to call.
- *
- * @param registry
- * @param pluginType
- * @param serviceMethodName
- */
- @SuppressWarnings("unchecked")
- public PluginRegistryAwareMessageHandler(PluginRegistry extends Plugin>, ?> registry,
- Class extends Plugin>> pluginType, String serviceMethodName) {
-
- Assert.notNull(registry);
- Assert.notNull(pluginType);
- Assert.hasText(serviceMethodName);
-
- this.registry = (PluginRegistry extends Plugin>, Object>) registry;
- this.serviceMethodName = serviceMethodName;
- this.pluginType = pluginType;
- this.delimiterType = GenericTypeResolver.resolveTypeArgument(pluginType, Plugin.class);
-
- verify();
- }
-
- private final void verify() {
-
- boolean methodFound = false;
-
- for (Method candidate : pluginType.getMethods()) {
- if (candidate.getName().equals(serviceMethodName)) {
- methodFound = true;
- break;
- }
- }
-
- if (!methodFound) {
- throw new IllegalArgumentException(String.format("Not method %s found for type %s!", serviceMethodName,
- pluginType));
- }
- }
-
- /**
- * Sets the SpEL expression to extract the delimiter from the {@link Message}.
- *
- * @param delimiterExpression the delimiterExpression to set
- */
- public void setDelimiterExpression(String expression) {
-
- Assert.hasText(expression);
- this.delimiterExpression = parser.parseExpression(expression);
- }
-
- /**
- * Sets the SpEL expression to extract the method arguments for the actual plugin method invocation from the
- * {@link Message}.
- *
- * @param invocationArgumentsExpression the invocationArgumentsExpression to set
- */
- public void setInvocationArgumentsExpression(String expression) {
-
- Assert.hasText(expression);
- this.invocationArgumentsExpression = parser.parseExpression(expression);
- }
-
- /**
- * Configures the method to be used when looking up plugins to invoke.
- *
- * @see PluginLookupMethod
- * @param pluginLookupMethod the invocationMethod to set
- */
- public void setPluginLookupMethod(PluginLookupMethod pluginLookupMethod) {
- this.pluginLookupMethod = pluginLookupMethod == null ? PluginLookupMethod.getDefault() : pluginLookupMethod;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see
- * org.springframework.integration.handler.AbstractReplyProducingMessageHandler
- * #handleRequestMessage(org.springframework.integration.Message)
- */
- @SuppressWarnings("unchecked")
- @Override
- protected Object handleRequestMessage(Message> requestMessage) {
-
- Object delimiter = getDelimiter(requestMessage);
-
- switch (pluginLookupMethod) {
-
- case ALL:
- if (LOG.isDebugEnabled()) {
- LOG.debug(String.format("Looking up plugins for delimiter %s", delimiter));
- }
- return invokePlugins(registry.getPluginsFor(delimiter), requestMessage);
-
- case ONE:
- if (LOG.isDebugEnabled()) {
- LOG.debug(String.format("Looking up plugin for delimiter %s", delimiter));
- }
- List