Class ChannelResolverUtils
java.lang.Object
org.springframework.integration.support.channel.ChannelResolverUtils
public final class ChannelResolverUtils
extends java.lang.Object
Channel resolution utilities.
- Since:
- 5.2
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CHANNEL_RESOLVER_BEAN_NAME
-
Method Summary
Modifier and Type Method Description static org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel>
getChannelResolver(org.springframework.beans.factory.BeanFactory beanFactory)
Obtain aDestinationResolver
registered with the "integrationChannelResolver" bean name.
-
Field Details
-
CHANNEL_RESOLVER_BEAN_NAME
public static final java.lang.String CHANNEL_RESOLVER_BEAN_NAME- See Also:
- Constant Field Values
-
-
Method Details
-
getChannelResolver
public static org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> getChannelResolver(org.springframework.beans.factory.BeanFactory beanFactory)Obtain aDestinationResolver
registered with the "integrationChannelResolver" bean name.- Parameters:
beanFactory
- BeanFactory for lookup, must not be null.- Returns:
- the instance of
DestinationResolver
bean whose name is "integrationChannelResolver".
-