Class MessageChannelReference

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

public class MessageChannelReference extends 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:
  • Constructor Details

    • MessageChannelReference

      public MessageChannelReference(String name)
  • Method Details

    • getName

      public 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