Message Endpoints and the SimpleTaskScheduler now manage their own lifecycles. The ApplicationContextMessageBus is no longer necessary (part of INT-462). The MessagePublishingErrorHandler now detects the default error channel within the beanFactory if necessary (INT-464).

This commit is contained in:
Mark Fisher
2008-11-11 20:11:21 +00:00
parent 7c28053b0f
commit f4ccde6257
52 changed files with 759 additions and 1076 deletions

View File

@@ -97,9 +97,7 @@ public class ConsoleInboundChannelAdapterParserTests {
catch (BeanCreationException e) {
beanCreationException = e;
}
Throwable parentCause = beanCreationException.getCause().getCause();
assertEquals(IllegalArgumentException.class, parentCause.getClass());
Throwable rootCause = ((IllegalArgumentException) parentCause).getCause();
Throwable rootCause = beanCreationException.getRootCause();
assertEquals(UnsupportedEncodingException.class, rootCause.getClass());
}

View File

@@ -108,9 +108,7 @@ public class ConsoleOutboundChannelAdapterParserTests {
catch (BeanCreationException e) {
beanCreationException = e;
}
Throwable parentCause = beanCreationException.getCause().getCause();
assertEquals(IllegalArgumentException.class, parentCause.getClass());
Throwable rootCause = ((IllegalArgumentException) parentCause).getCause();
Throwable rootCause = beanCreationException.getRootCause();
assertEquals(UnsupportedEncodingException.class, rootCause.getClass());
}

View File

@@ -10,8 +10,8 @@
http://www.springframework.org/schema/integration/stream
http://www.springframework.org/schema/integration/stream/spring-integration-stream-1.0.xsd">
<stdin-channel-adapter id="adapterWithDefaultCharset"/>
<stdin-channel-adapter id="adapterWithDefaultCharset" auto-startup="false"/>
<stdin-channel-adapter id="adapterWithProvidedCharset" charset="UTF-8"/>
<stdin-channel-adapter id="adapterWithProvidedCharset" charset="UTF-8" auto-startup="false"/>
</beans:beans>