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