public final class ChannelUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_PUBLISHING_ERROR_HANDLER_BEAN_NAME |
Modifier and Type | Method and Description |
---|---|
static ErrorHandler |
getErrorHandler(BeanFactory beanFactory)
Obtain an
ErrorHandler registered with the
"integrationMessagePublishingErrorHandler" bean name. |
public static final String MESSAGE_PUBLISHING_ERROR_HANDLER_BEAN_NAME
public static ErrorHandler getErrorHandler(BeanFactory beanFactory)
ErrorHandler
registered with the
"integrationMessagePublishingErrorHandler" bean name.
By default resolves to the MessagePublishingErrorHandler
with the
DestinationResolver
bean.beanFactory
- BeanFactory for lookup, must not be null.ErrorHandler
bean whose name is
"integrationMessagePublishingErrorHandler".