Class TestSupportBinder

java.lang.Object
org.springframework.cloud.stream.test.binder.TestSupportBinder
All Implemented Interfaces:
Binder<org.springframework.messaging.MessageChannel,ConsumerProperties,ProducerProperties>

public class TestSupportBinder extends Object implements Binder<org.springframework.messaging.MessageChannel,ConsumerProperties,ProducerProperties>
A minimal binder that
  • does nothing about binding consumers, leaving the channel as-is, so that a test author can interact with it directly,
  • registers a queue channel on the producer side, so that it is easy to assert what is received.
Author:
Eric Bottard, Gary Russell, Mark Fisher, Oleg Zhurakousky, Soby Chacko
See Also:
  • Constructor Details

    • TestSupportBinder

      public TestSupportBinder()
  • Method Details