Class ChannelUtils
java.lang.Object
org.springframework.integration.channel.ChannelUtils
public final class ChannelUtils extends Object
Channel utilities.
- Since:
- 5.2
- Author:
- Artem Bilan, Gary Russell
-
Field Summary
Fields Modifier and Type Field Description static StringMESSAGE_PUBLISHING_ERROR_HANDLER_BEAN_NAME -
Method Summary
Modifier and Type Method Description static ErrorHandlergetErrorHandler(BeanFactory beanFactory)Obtain anErrorHandlerregistered with the "integrationMessagePublishingErrorHandler" bean name.
-
Field Details
-
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".
-