INT-1708, INT-1709 undid the changes made with regard to adding error-channel to SourcePollingChannelAdapter in favor of adding it to the poller

This commit is contained in:
Oleg Zhurakousky
2011-01-20 08:33:40 -05:00
parent 8ee0af309f
commit 21b5809057
7 changed files with 5 additions and 98 deletions

View File

@@ -17,6 +17,7 @@ package org.springframework.integration.config.xml;
import static junit.framework.Assert.assertNotNull;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
@@ -31,6 +32,7 @@ import org.springframework.integration.endpoint.SourcePollingChannelAdapter;
public class PollerWithErrorChannel {
@Test
@Ignore
public void testWithErrorChannelAsHeader() throws Exception{
ApplicationContext ac = new ClassPathXmlApplicationContext("PollerWithErrorChannel-context.xml", this.getClass());
SourcePollingChannelAdapter adapter = ac.getBean("withErrorHeader", SourcePollingChannelAdapter.class);
@@ -41,6 +43,7 @@ public class PollerWithErrorChannel {
}
@Test
@Ignore
public void testWithErrorChannel() throws Exception{
ApplicationContext ac = new ClassPathXmlApplicationContext("PollerWithErrorChannel-context.xml", this.getClass());
SourcePollingChannelAdapter adapter = ac.getBean("withErrorChannel", SourcePollingChannelAdapter.class);
@@ -51,6 +54,7 @@ public class PollerWithErrorChannel {
}
@Test
@Ignore
public void testWithErrorChannelAndHeader() throws Exception{
ApplicationContext ac = new ClassPathXmlApplicationContext("PollerWithErrorChannel-context.xml", this.getClass());
SourcePollingChannelAdapter adapter = ac.getBean("withErrorChannelAndHeader", SourcePollingChannelAdapter.class);