public class TestSupportBinder extends Object implements Binder<org.springframework.messaging.MessageChannel,ConsumerProperties,ProducerProperties>
MessageQueueMatcher| Constructor and Description |
|---|
TestSupportBinder() |
| Modifier and Type | Method and Description |
|---|---|
Binding<org.springframework.messaging.MessageChannel> |
bindConsumer(String name,
String group,
org.springframework.messaging.MessageChannel inboundBindTarget,
ConsumerProperties properties) |
Binding<org.springframework.messaging.MessageChannel> |
bindProducer(String name,
org.springframework.messaging.MessageChannel outboundBindTarget,
ProducerProperties properties)
Registers a single subscriber to the channel, that enqueues messages for later retrieval and assertion in tests.
|
org.springframework.messaging.MessageChannel |
getChannelForName(String name) |
MessageCollector |
messageCollector() |
public Binding<org.springframework.messaging.MessageChannel> bindConsumer(String name, String group, org.springframework.messaging.MessageChannel inboundBindTarget, ConsumerProperties properties)
bindConsumer in interface Binder<org.springframework.messaging.MessageChannel,ConsumerProperties,ProducerProperties>public Binding<org.springframework.messaging.MessageChannel> bindProducer(String name, org.springframework.messaging.MessageChannel outboundBindTarget, ProducerProperties properties)
bindProducer in interface Binder<org.springframework.messaging.MessageChannel,ConsumerProperties,ProducerProperties>public MessageCollector messageCollector()
public org.springframework.messaging.MessageChannel getChannelForName(String name)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.