Class ChannelUtils
java.lang.Object
org.springframework.integration.channel.ChannelUtils
Channel utilities.
- Since:
- 5.2
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.util.ErrorHandlergetErrorHandler(org.springframework.beans.factory.BeanFactory beanFactory) Obtain anErrorHandlerregistered with the "integrationMessagePublishingErrorHandler" bean name.
-
Field Details
-
MESSAGE_PUBLISHING_ERROR_HANDLER_BEAN_NAME
- See Also:
-
-
Method Details
-
getErrorHandler
public static org.springframework.util.ErrorHandler getErrorHandler(org.springframework.beans.factory.BeanFactory beanFactory) 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".
-