Class RecipientListRouter.Recipient

java.lang.Object
org.springframework.integration.router.RecipientListRouter.Recipient
Enclosing class:
RecipientListRouter

public static class RecipientListRouter.Recipient
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Recipient​(java.lang.String channelName)  
    Recipient​(java.lang.String channelName, MessageSelector selector)  
    Recipient​(org.springframework.messaging.MessageChannel channel)  
    Recipient​(org.springframework.messaging.MessageChannel channel, MessageSelector selector)  
  • Method Summary

    Modifier and Type Method Description
    boolean accept​(org.springframework.messaging.Message<?> message)  
    org.springframework.messaging.MessageChannel getChannel()  
    void setChannelResolver​(org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> channelResolver)  

    Methods inherited from class java.lang.Object

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

    • Recipient

      public Recipient​(org.springframework.messaging.MessageChannel channel)
    • Recipient

      public Recipient​(org.springframework.messaging.MessageChannel channel, MessageSelector selector)
    • Recipient

      public Recipient​(java.lang.String channelName)
    • Recipient

      public Recipient​(java.lang.String channelName, MessageSelector selector)
  • Method Details

    • setChannelResolver

      public void setChannelResolver​(org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> channelResolver)
    • getChannel

      @Nullable public org.springframework.messaging.MessageChannel getChannel()
    • accept

      public boolean accept​(org.springframework.messaging.Message<?> message)