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 String
MESSAGE_PUBLISHING_ERROR_HANDLER_BEAN_NAME
-
Method Summary
Modifier and Type Method Description static ErrorHandler
getErrorHandler(BeanFactory beanFactory)
Obtain anErrorHandler
registered with the "integrationMessagePublishingErrorHandler" bean name.
-
Field Details
-
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".
-