Class MessageChannelReference

java.lang.Object
org.springframework.integration.dsl.support.MessageChannelReference
All Implemented Interfaces:
org.springframework.messaging.MessageChannel

public class MessageChannelReference
extends java.lang.Object
implements org.springframework.messaging.MessageChannel
An "artificial" MessageChannel implementation which will be unwrapped to the MessageChannel bean on the bean registration phase. For internal use only.
Since:
5.0
See Also:
IntegrationFlowBeanPostProcessor
  • Field Summary

    Fields inherited from interface org.springframework.messaging.MessageChannel

    INDEFINITE_TIMEOUT
  • Constructor Summary

    Constructors 
    Constructor Description
    MessageChannelReference​(java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()  
    boolean send​(org.springframework.messaging.Message<?> message)  
    boolean send​(org.springframework.messaging.Message<?> message, long timeout)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
    • send

      public boolean send​(org.springframework.messaging.Message<?> message)
      Specified by:
      send in interface org.springframework.messaging.MessageChannel
    • send

      public boolean send​(org.springframework.messaging.Message<?> message, long timeout)
      Specified by:
      send in interface org.springframework.messaging.MessageChannel