Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.integration.channel.AbstractMessageChannel

        org.springframework.integration.channel.AbstractMessageChannel.ChannelInterceptorList
      • Nested classes/interfaces inherited from interface org.springframework.integration.support.management.IntegrationManagement

        org.springframework.integration.support.management.IntegrationManagement.ManagementOverrides
    • 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
      • Fields inherited from interface org.springframework.integration.support.management.IntegrationManagement

        METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
      • Fields inherited from interface org.springframework.messaging.MessageChannel

        INDEFINITE_TIMEOUT
    • 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 interface org.springframework.integration.support.management.IntegrationManagement

        getManagedName, getManagedType, getThisAs, setManagedName, setManagedType
      • Methods inherited from interface org.springframework.messaging.MessageChannel

        send, send
      • Methods inherited from interface org.springframework.integration.support.context.NamedComponent

        getComponentName
    • Constructor Detail

      • DirectWithAttributesChannel

        public DirectWithAttributesChannel()
    • Method Detail

      • setAttribute

        public void setAttribute​(String key,
                                 Object value)
      • getBeanName

        public String getBeanName()
        Specified by:
        getBeanName in interface org.springframework.integration.support.context.NamedComponent
        Overrides:
        getBeanName in class org.springframework.integration.context.IntegrationObjectSupport
      • subscribe

        public boolean subscribe​(org.springframework.messaging.MessageHandler handler)
        Specified by:
        subscribe in interface org.springframework.messaging.SubscribableChannel
        Overrides:
        subscribe in class org.springframework.integration.channel.AbstractSubscribableChannel