Class DirectWithAttributesChannel
- java.lang.Object
-
- org.springframework.integration.context.IntegrationObjectSupport
-
- org.springframework.integration.channel.AbstractMessageChannel
-
- org.springframework.integration.channel.AbstractSubscribableChannel
-
- org.springframework.integration.channel.DirectChannel
-
- org.springframework.cloud.stream.messaging.DirectWithAttributesChannel
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
,org.springframework.integration.context.ExpressionCapable
,org.springframework.integration.IntegrationPattern
,org.springframework.integration.support.context.NamedComponent
,org.springframework.integration.support.management.IntegrationManagement
,org.springframework.integration.support.management.SubscribableChannelManagement
,org.springframework.integration.support.management.TrackableComponent
,org.springframework.messaging.MessageChannel
,org.springframework.messaging.SubscribableChannel
,org.springframework.messaging.support.InterceptableChannel
public class DirectWithAttributesChannel extends org.springframework.integration.channel.DirectChannel
- Since:
- 2.1
- Author:
- Oleg Zhurakousky
-
-
Field Summary
-
Fields inherited from class org.springframework.integration.channel.AbstractMessageChannel
interceptors, meters
-
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger
-
-
Constructor Summary
Constructors Constructor Description DirectWithAttributesChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAttribute(String key)
String
getBeanName()
void
setAttribute(String key, Object value)
boolean
subscribe(org.springframework.messaging.MessageHandler handler)
-
Methods inherited from class org.springframework.integration.channel.DirectChannel
getDispatcher, onInit, setFailover, setMaxSubscribers
-
Methods inherited from class org.springframework.integration.channel.AbstractSubscribableChannel
doSend, getSubscriberCount, unsubscribe
-
Methods inherited from class org.springframework.integration.channel.AbstractMessageChannel
addInterceptor, addInterceptor, destroy, getComponentType, getFullChannelName, getIChannelInterceptorList, getIntegrationPatternType, getInterceptors, getMetricsCaptor, getOverrides, isLoggingEnabled, registerMetricsCaptor, removeInterceptor, removeInterceptor, send, send, setDatatypes, setInterceptors, setLoggingEnabled, setMessageConverter, setShouldTrack
-
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getBeanName
public String getBeanName()
- Specified by:
getBeanName
in interfaceorg.springframework.integration.support.context.NamedComponent
- Overrides:
getBeanName
in classorg.springframework.integration.context.IntegrationObjectSupport
-
subscribe
public boolean subscribe(org.springframework.messaging.MessageHandler handler)
- Specified by:
subscribe
in interfaceorg.springframework.messaging.SubscribableChannel
- Overrides:
subscribe
in classorg.springframework.integration.channel.AbstractSubscribableChannel
-
-