Class ChannelUtils
java.lang.Object
org.springframework.integration.channel.ChannelUtils
Channel utilities.
- Since:
- 5.2
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorHandlergetErrorHandler(BeanFactory beanFactory) Obtain anErrorHandlerregistered with the "integrationMessagePublishingErrorHandler" bean name.
-
Field Details
-
MESSAGE_PUBLISHING_ERROR_HANDLER_BEAN_NAME
- See Also:
-
-
Method Details
-
getErrorHandler
Obtain anErrorHandlerregistered with the "integrationMessagePublishingErrorHandler" bean name. By default resolves to theMessagePublishingErrorHandlerwith the "integrationChannelResolver"DestinationResolverbean.- Parameters:
beanFactory- BeanFactory for lookup, must not be null.- Returns:
- the instance of
ErrorHandlerbean whose name is "integrationMessagePublishingErrorHandler".
-