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:
committed by
Gary Russell
parent
84e3d4e126
commit
3890e892d8
@@ -265,7 +265,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());
|
||||
}
|
||||
@@ -396,6 +395,7 @@ public class WebServiceOutboundGatewayParserTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void jmsUri() {
|
||||
ApplicationContext context = new ClassPathXmlApplicationContext(
|
||||
"simpleWebServiceOutboundGatewayParserTests.xml", this.getClass());
|
||||
|
||||
Reference in New Issue
Block a user