Skip navigation links
B D E F G I M O R T W 

B

bindConsumer(String, String, MessageChannel, ConsumerProperties) - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinder
 
binderFactory() - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinderAutoConfiguration
 
bindProducer(String, MessageChannel, ProducerProperties) - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinder
Registers a single subscriber to the channel, that enqueues messages for later retrieval and assertion in tests.

D

describeMismatch(Object, Description) - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 
describeTo(Description) - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 
describeTo(Description) - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher.Extractor
 

E

Extractor(String) - Constructor for class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher.Extractor
 

F

forChannel(MessageChannel) - Method in interface org.springframework.cloud.stream.test.binder.MessageCollector
Obtain a queue that will receive messages sent to the given channel.

G

getChannelForName(String) - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinder
 

I

immediately() - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 
indefinitely() - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 

M

matches(Object) - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 
MessageCollector - Interface in org.springframework.cloud.stream.test.binder
Maintains a map between (output) channels and messages received (in FIFO order).
messageCollector() - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinder
 
messageCollector(BinderFactory) - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinderAutoConfiguration
 
MessageQueueMatcher<T> - Class in org.springframework.cloud.stream.test.matcher
A Hamcrest Matcher meant to be used in conjunction with TestSupportBinder.
MessageQueueMatcher(Matcher<T>, long, TimeUnit, MessageQueueMatcher.Extractor<Message<?>, T>) - Constructor for class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 
MessageQueueMatcher.Extractor<R,T> - Class in org.springframework.cloud.stream.test.matcher
A transformation to be applied to a received message before asserting, e.g. to only inspect the payload.

O

org.springframework.cloud.stream.test.binder - package org.springframework.cloud.stream.test.binder
 
org.springframework.cloud.stream.test.matcher - package org.springframework.cloud.stream.test.matcher
 

R

receivesMessageThat(Matcher<Message<P>>) - Static method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 
receivesPayloadThat(Matcher<P>) - Static method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 

T

TestSupportBinder - Class in org.springframework.cloud.stream.test.binder
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.
TestSupportBinder() - Constructor for class org.springframework.cloud.stream.test.binder.TestSupportBinder
 
TestSupportBinderAutoConfiguration - Class in org.springframework.cloud.stream.test.binder
Installs the TestSupportBinder and exposes TestSupportBinder.MessageCollectorImpl to be injected in tests.
TestSupportBinderAutoConfiguration() - Constructor for class org.springframework.cloud.stream.test.binder.TestSupportBinderAutoConfiguration
 

W

within(long, TimeUnit) - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
 
B D E F G I M O R T W 
Skip navigation links

Copyright © 2017 Pivotal Software, Inc.. All rights reserved.