B D E F G I M O P R T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- bindConsumer(String, String, MessageChannel, ConsumerProperties) - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinder
- binder() - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinderConfiguration
- binderFactory(Binder<MessageChannel, ?, ?>) - 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() - Method in class org.springframework.cloud.stream.test.binder.TestSupportBinder
- messageCollector(BinderFactory) - Method in class org.springframework.cloud.stream.test.binder.MessageCollectorAutoConfiguration
- MessageCollector - Interface in org.springframework.cloud.stream.test.binder
-
Maintains a map between (output) channels and messages received (in FIFO order).
- MessageCollectorAutoConfiguration - Class in org.springframework.cloud.stream.test.binder
-
Automatically registers the
MessageCollector
associated with the test binder as a bean. - MessageCollectorAutoConfiguration() - Constructor for class org.springframework.cloud.stream.test.binder.MessageCollectorAutoConfiguration
- 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
P
- postProcessEnvironment(ConfigurableEnvironment, SpringApplication) - Method in class org.springframework.cloud.stream.test.binder.TestBinderEnvironmentPostProcessor
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
- TestBinderEnvironmentPostProcessor - Class in org.springframework.cloud.stream.test.binder
-
An
EnvironmentPostProcessor
that sets some configuration properties forTestSupportBinder
. - TestBinderEnvironmentPostProcessor() - Constructor for class org.springframework.cloud.stream.test.binder.TestBinderEnvironmentPostProcessor
- 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 MessageCollectorImplto be injected in tests.
- TestSupportBinderAutoConfiguration() - Constructor for class org.springframework.cloud.stream.test.binder.TestSupportBinderAutoConfiguration
- TestSupportBinderConfiguration - Class in org.springframework.cloud.stream.test.binder
-
Binder
Configuration
for theTestSupportBinder
Either imported by theTestSupportBinderAutoConfiguration
for the test binder default usage scenario (superseding all binders on the classpath), or used as a binder configuration on the classpath when test binder autoconfiguration is disabled. - TestSupportBinderConfiguration() - Constructor for class org.springframework.cloud.stream.test.binder.TestSupportBinderConfiguration
W
- within(long, TimeUnit) - Method in class org.springframework.cloud.stream.test.matcher.MessageQueueMatcher
All Classes All Packages