INT-3470: SF 4.1 Compatibility #2

JIRA: https://jira.spring.io/browse/INT-3470

* Apply the last `ChannelInterceptor` changes - just `extends ChannelInterceptorAdapter`
* Change some tests to check content according to the new changes to the `GenericMessage#toString()`

**Cherry-pick to 4.0.x**
This commit is contained in:
Artem Bilan
2014-07-14 14:52:36 +03:00
committed by Gary Russell
parent e8898821ae
commit f0eeb3b2b9
6 changed files with 16 additions and 14 deletions

View File

@@ -266,7 +266,6 @@ public class WebServiceOutboundGatewayParserTests {
assertEquals(PeriodicTrigger.class, triggerObject.getClass());
PeriodicTrigger trigger = (PeriodicTrigger) triggerObject;
DirectFieldAccessor accessor = new DirectFieldAccessor(trigger);
accessor = new DirectFieldAccessor(trigger);
assertEquals("PeriodicTrigger had wrong period",
5000, ((Long)accessor.getPropertyValue("period")).longValue());
}
@@ -397,6 +396,7 @@ public class WebServiceOutboundGatewayParserTests {
}
@Test
@SuppressWarnings("unchecked")
public void jmsUri() {
ApplicationContext context = new ClassPathXmlApplicationContext(
"simpleWebServiceOutboundGatewayParserTests.xml", this.getClass());