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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user