use of org.springframework.integration.channel.TestChannelResolver in project spring-integration by spring-projects.
the class MethodInvokingRouterTests method multiChannelNameResolutionByPayloadConfiguredByMethodName.
@Test
public void multiChannelNameResolutionByPayloadConfiguredByMethodName() {
TestChannelResolver channelResolver = new TestChannelResolver();
MultiChannelNameRoutingTestBean testBean = new MultiChannelNameRoutingTestBean();
MethodInvokingRouter router = new MethodInvokingRouter(testBean, "routePayload");
this.doTestMultiChannelNameResolutionByPayload(router, channelResolver);
}
use of org.springframework.integration.channel.TestChannelResolver in project spring-integration by spring-projects.
the class MethodInvokingRouterTests method multiChannelNameArrayResolutionByMessageConfiguredByMethodName.
@Test
public void multiChannelNameArrayResolutionByMessageConfiguredByMethodName() {
TestChannelResolver channelResolver = new TestChannelResolver();
MultiChannelNameRoutingTestBean testBean = new MultiChannelNameRoutingTestBean();
MethodInvokingRouter router = new MethodInvokingRouter(testBean, "routeMessageToArray");
this.doTestMultiChannelNameArrayResolutionByMessage(router, channelResolver);
}
use of org.springframework.integration.channel.TestChannelResolver in project spring-integration by spring-projects.
the class MethodInvokingRouterTests method multiChannelListResolutionByPayloadConfiguredByMethodName.
@Test
public void multiChannelListResolutionByPayloadConfiguredByMethodName() {
TestChannelResolver channelResolver = new TestChannelResolver();
MultiChannelInstanceRoutingTestBean testBean = new MultiChannelInstanceRoutingTestBean(channelResolver);
MethodInvokingRouter router = new MethodInvokingRouter(testBean, "routePayload");
this.doTestMultiChannelListResolutionByPayload(router, channelResolver);
}
Aggregations