Class ChannelSyncConsumer

  • All Implemented Interfaces:
    com.consol.citrus.messaging.Consumer, com.consol.citrus.messaging.Producer, com.consol.citrus.messaging.ReplyProducer, com.consol.citrus.messaging.SelectiveConsumer

    public class ChannelSyncConsumer
    extends ChannelConsumer
    implements com.consol.citrus.messaging.ReplyProducer
    Since:
    1.4
    Author:
    Christoph Deppisch
    • Constructor Detail

      • ChannelSyncConsumer

        public ChannelSyncConsumer​(String name,
                                   ChannelSyncEndpointConfiguration endpointConfiguration)
        Default constructor using emdpoint configuration.
        Parameters:
        name -
        endpointConfiguration -
    • Method Detail

      • send

        public void send​(Message message,
                         TestContext context)
        Specified by:
        send in interface com.consol.citrus.messaging.Producer
      • saveReplyMessageChannel

        public void saveReplyMessageChannel​(Message receivedMessage,
                                            TestContext context)
        Store reply message channel.
        Parameters:
        receivedMessage -
        context -
      • getCorrelationManager

        public CorrelationManager<org.springframework.messaging.MessageChannel> getCorrelationManager()
        Gets the correlation manager.
        Returns:
      • setCorrelationManager

        public void setCorrelationManager​(CorrelationManager<org.springframework.messaging.MessageChannel> correlationManager)
        Sets the correlation manager.
        Parameters:
        correlationManager -