Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractBinderTests<B extends AbstractTestBinder<? extends org.springframework.cloud.stream.binder.AbstractBinder<org.springframework.messaging.MessageChannel,
CP, PP>, CP, PP>, CP extends org.springframework.cloud.stream.binder.ConsumerProperties, PP extends org.springframework.cloud.stream.binder.ProducerProperties> - Class in org.springframework.cloud.stream.binder - AbstractBinderTests() - Constructor for class org.springframework.cloud.stream.binder.AbstractBinderTests
- AbstractBinderTests.Station - Class in org.springframework.cloud.stream.binder
- AbstractBinderTests.Station.Readings - Class in org.springframework.cloud.stream.binder
- AbstractPollableConsumerTestBinder<C extends org.springframework.cloud.stream.binder.AbstractBinder<org.springframework.messaging.MessageChannel,
CP, PP>, CP extends org.springframework.cloud.stream.binder.ConsumerProperties, PP extends org.springframework.cloud.stream.binder.ProducerProperties> - Class in org.springframework.cloud.stream.binder - AbstractPollableConsumerTestBinder() - Constructor for class org.springframework.cloud.stream.binder.AbstractPollableConsumerTestBinder
- AbstractTestBinder<C extends org.springframework.cloud.stream.binder.AbstractBinder<org.springframework.messaging.MessageChannel,
CP, PP>, CP extends org.springframework.cloud.stream.binder.ConsumerProperties, PP extends org.springframework.cloud.stream.binder.ProducerProperties> - Class in org.springframework.cloud.stream.binder -
Abstract class that adds test support for
Binder. - AbstractTestBinder() - Constructor for class org.springframework.cloud.stream.binder.AbstractTestBinder
- applicationContext - Variable in class org.springframework.cloud.stream.binder.AbstractBinderTests
B
- before() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- bindConsumer(String, String, MessageChannel, CP) - Method in class org.springframework.cloud.stream.binder.AbstractTestBinder
- binderBindUnbindLatency() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
-
If appropriate, let the binder middleware settle down a bit while binding/unbinding actually happens.
- BinderTestEnvironmentPostProcessor - Class in org.springframework.cloud.stream.binder
-
An
EnvironmentPostProcessorthat sets some common configuration properties (log config etc.,) for binder tests. - BinderTestEnvironmentPostProcessor() - Constructor for class org.springframework.cloud.stream.binder.BinderTestEnvironmentPostProcessor
- BinderTestUtils - Class in org.springframework.cloud.stream.binder
- BinderTestUtils() - Constructor for class org.springframework.cloud.stream.binder.BinderTestUtils
- bindPollableConsumer(String, String, PollableSource<MessageHandler>, CP) - Method in class org.springframework.cloud.stream.binder.AbstractPollableConsumerTestBinder
- bindProducer(String, MessageChannel, PP) - Method in class org.springframework.cloud.stream.binder.AbstractTestBinder
C
- checkRkExpressionForPartitionedModuleSpEL(Object) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- cleanup() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- cleanup() - Method in class org.springframework.cloud.stream.binder.AbstractTestBinder
- createBindableChannel(String, BindingProperties) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- createBindableChannel(String, BindingProperties, boolean) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- createBindableMessageSource(String, BindingProperties) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- createConsumerBindingProperties(CP) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- createConsumerProperties() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- createProducerBindingProperties(PP) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- createProducerProperties(TestInfo) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
E
- extractEndpoint(Binding<MessageChannel>) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- extractKey(Message<?>) - Method in class org.springframework.cloud.stream.binder.PartitionTestSupport
G
- getBinder() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- getBinder() - Method in class org.springframework.cloud.stream.binder.AbstractTestBinder
- getClassUnderTestName() - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- getCoreBinder() - Method in class org.springframework.cloud.stream.binder.AbstractTestBinder
- getCustomerid() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station.Readings
- getDestinationNameDelimiter() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
-
Set the delimiter that will be used in the message source/target name.
- getEndpointRouting(Object) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
-
For implementations that rely on explicit routing, return the routing expression.
- getExpectedRoutingBaseDestination(String, String) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
-
For implementations that rely on explicit routing, return the expected base destination (the part that precedes '-partition' within the expression).
- getPropertyValue(Object, String) - Static method in class org.springframework.cloud.stream.binder.TestUtils
-
Uses nested
DirectFieldAccessors to obtain a property using dotted notation to traverse fields; e.g. - getPropertyValue(Object, String, Class<T>) - Static method in class org.springframework.cloud.stream.binder.TestUtils
- getReadings() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station
- getStationid() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station.Readings
- getTimestamp() - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station.Readings
L
- logger - Variable in class org.springframework.cloud.stream.binder.AbstractBinderTests
M
- messageConverter - Variable in class org.springframework.cloud.stream.binder.AbstractBinderTests
- MOCK_AC - Static variable in class org.springframework.cloud.stream.binder.BinderTestUtils
-
Mocked application context.
- MOCK_BF - Static variable in class org.springframework.cloud.stream.binder.BinderTestUtils
-
Mocked application bean factory.
O
- org.springframework.cloud.stream.binder - package org.springframework.cloud.stream.binder
P
- PartitionCapableBinderTests<B extends AbstractTestBinder<? extends org.springframework.cloud.stream.binder.AbstractBinder<org.springframework.messaging.MessageChannel,
CP, PP>, CP, PP>, CP extends org.springframework.cloud.stream.binder.ConsumerProperties, PP extends org.springframework.cloud.stream.binder.ProducerProperties> - Class in org.springframework.cloud.stream.binder -
Tests for binders that support partitioning.
- PartitionCapableBinderTests() - Constructor for class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- PartitionTestSupport - Class in org.springframework.cloud.stream.binder
- PartitionTestSupport() - Constructor for class org.springframework.cloud.stream.binder.PartitionTestSupport
- postProcessEnvironment(ConfigurableEnvironment, SpringApplication) - Method in class org.springframework.cloud.stream.binder.BinderTestEnvironmentPostProcessor
Q
- queues - Variable in class org.springframework.cloud.stream.binder.AbstractTestBinder
R
- Readings() - Constructor for class org.springframework.cloud.stream.binder.AbstractBinderTests.Station.Readings
- receive(boolean) - Method in interface org.springframework.cloud.stream.binder.Spy
- receive(PollableChannel) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
-
Attempt to receive a message on the given channel, waiting up to 1s (times the
AbstractBinderTests.timeoutMultiplier). - receive(PollableChannel, int) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
-
Attempt to receive a message on the given channel, waiting up to 1s * additionalMultiplier *
AbstractBinderTests.timeoutMultiplier).
S
- selectPartition(Object, int) - Method in class org.springframework.cloud.stream.binder.PartitionTestSupport
- setBinder(C) - Method in class org.springframework.cloud.stream.binder.AbstractTestBinder
- setCustomerid(String) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station.Readings
- setPollableConsumerBinder(PollableConsumerBinder<MessageHandler, CP>) - Method in class org.springframework.cloud.stream.binder.AbstractPollableConsumerTestBinder
- setReadings(List<AbstractBinderTests.Station.Readings>) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station
- setStationid(String) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station.Readings
- setTimestamp(String) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests.Station.Readings
- spelExpressionParser - Static variable in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- Spy - Interface in org.springframework.cloud.stream.binder
-
Represents an out-of-band connection to the underlying middleware, so that tests can check that some messages actually do (or do not) transit through it.
- spyOn(String) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
-
Create a new spy on the given 'queue'.
- Station() - Constructor for class org.springframework.cloud.stream.binder.AbstractBinderTests.Station
T
- testAnonymousGroup(TestInfo) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- testBinder - Variable in class org.springframework.cloud.stream.binder.AbstractBinderTests
- testClean(TestInfo) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- testOneRequiredGroup(TestInfo) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- testPartitionedModuleSpEL(TestInfo) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- testSendAndReceive(TestInfo) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- testSendAndReceiveMultipleTopics(TestInfo) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- testSendAndReceiveNoOriginalContentType(TestInfo) - Method in class org.springframework.cloud.stream.binder.AbstractBinderTests
- testTwoRequiredGroups(TestInfo) - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
- TestUtils - Class in org.springframework.cloud.stream.binder
-
Copy of class in org.springframework.amqp.utils.test to avoid dependency on spring-amqp.
- TestUtils() - Constructor for class org.springframework.cloud.stream.binder.TestUtils
- timeoutMultiplier - Variable in class org.springframework.cloud.stream.binder.AbstractBinderTests
-
Subclasses may override this default value to have tests wait longer for a message receive, for example if running in an environment that is known to be slow (e.g.
U
- usesExplicitRouting() - Method in class org.springframework.cloud.stream.binder.PartitionCapableBinderTests
-
Implementations should return whether the binder under test uses "explicit" routing (e.g.
All Classes and Interfaces|All Packages|Serialized Form