Skip navigation links
A B C D E F G H I L M N O P R S T V W 

A

AbstractRequestResponseScenarioTests - Class in org.springframework.integration.test.support
Convenience class for testing Spring Integration request-response message scenarios.
AbstractRequestResponseScenarioTests() - Constructor for class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
 
AbstractResponseValidator<T> - Class in org.springframework.integration.test.support
The base class for response validators used for RequestResponseScenarios
AbstractResponseValidator() - Constructor for class org.springframework.integration.test.support.AbstractResponseValidator
 
apply(Statement, FrameworkMethod, Object) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
 
apply(Statement, Description) - Method in class org.springframework.integration.test.support.LongRunningIntegrationTest
 
applySystemFileSeparator(String) - Static method in class org.springframework.integration.test.util.TestUtils
Update file path by replacing any '/' with the system's file separator.
assertions - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
assertReceived(String) - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
await() - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 

B

BODY - Static variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 

C

categories(String...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the categories for logging level adjusting configured before.
categories(boolean, String...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the categories for logging level adjusting configured before.
classes(Class<?>...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the classes for logging level adjusting configured before.
classes(boolean, Class<?>...) - Method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
Specify the classes for logging level adjusting configured before.
createTaskScheduler(int) - Static method in class org.springframework.integration.test.util.TestUtils
A factory for the ThreadPoolTaskScheduler instances based on the provided poolSize.
createTestApplicationContext() - Static method in class org.springframework.integration.test.util.TestUtils
Create a TestUtils.TestApplicationContext instance supplied with the basic Spring Integration infrastructure.

D

debug() - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for Level.DEBUG logging with the org.springframework.integration as default category.
DEFAULT_PORT_RANGE_MAX - Static variable in class org.springframework.integration.test.util.SocketUtils
Deprecated.
 
DEFAULT_PORT_RANGE_MIN - Static variable in class org.springframework.integration.test.util.SocketUtils
Deprecated.
 
defineRequestResponseScenario() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
 
defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
Implement this method to define RequestResponse scenarios
defineRequestResponseScenarios() - Method in class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.EqualsResultMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.HeaderMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.MapContentMatchers
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
describeTo(Description) - Method in class org.springframework.integration.test.matcher.PayloadMatcher
 

E

equals(Object) - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 
equalsResult(Supplier<U>) - Static method in class org.springframework.integration.test.matcher.EqualsResultMatcher
 
EqualsResultMatcher<U> - Class in org.springframework.integration.test.matcher
A matcher that evaluates against the result of invoking a function, wrapped by the Supplier The goal is to defer the computation until the matcher needs to be actually evaluated.
EqualsResultMatcher(Supplier<U>) - Constructor for class org.springframework.integration.test.matcher.EqualsResultMatcher
 
eventually(int, int, Matcher<U>) - Static method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
eventually(Matcher<U>) - Static method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
EventuallyMatcher<U> - Class in org.springframework.integration.test.matcher
A matcher that will evaluate another matcher repeatedly until it matches, or fail after some number of attempts.
EventuallyMatcher(Matcher<U>) - Constructor for class org.springframework.integration.test.matcher.EventuallyMatcher
 
EventuallyMatcher(Matcher<U>, int, int) - Constructor for class org.springframework.integration.test.matcher.EventuallyMatcher
 
extractPayload() - Method in class org.springframework.integration.test.support.AbstractResponseValidator
If true will extract the payload as the parameter for validateResponse()
extractPayload() - Method in class org.springframework.integration.test.support.MessageValidator
 
extractPayload() - Method in class org.springframework.integration.test.support.PayloadValidator
 

F

findAvailableServerSocket(int) - Static method in class org.springframework.integration.test.util.SocketUtils
Deprecated.
Determines a free available server socket (port) using the 'seed' value as the starting port.
findAvailableServerSocket() - Static method in class org.springframework.integration.test.util.SocketUtils
Deprecated.
Determines a free available server socket (port) using an automatically chosen start seed port.
findAvailableServerSockets(int, int) - Static method in class org.springframework.integration.test.util.SocketUtils
Deprecated.
Determines a free available server socket (port) using the 'seed' value as the starting port.
findAvailableUdpSocket(int) - Static method in class org.springframework.integration.test.util.SocketUtils
Deprecated.
Determines a free available Udp socket (port) using the 'seed' value as the starting port.
findAvailableUdpSocket() - Static method in class org.springframework.integration.test.util.SocketUtils
Deprecated.
Determines a free available Udp socket using an automatically chosen start seed port.
findAvailableUdpSockets(int, int) - Static method in class org.springframework.integration.test.util.SocketUtils
Deprecated.
Determines free available udp socket(s) (port) using the 'seed' value as the starting port.
forLevel(Level) - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for arbitrary logging Level with the org.springframework.integration as default category.

G

getInputChannelName() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getLastMessage() - Method in class org.springframework.integration.test.support.AbstractResponseValidator
 
getMessage() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getMessages() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
getName() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getOutputChannelName() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getPayload() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
getPort() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
getPropertyValue(Object, String) - Static method in class org.springframework.integration.test.util.TestUtils
Obtain a value for the property from the provide object.
getPropertyValue(Object, String, Class<T>) - Static method in class org.springframework.integration.test.util.TestUtils
Obtain a value for the property from the provide object and try to cast it to the provided type.
getRandomSeedPort() - Static method in class org.springframework.integration.test.util.SocketUtils
Deprecated.
Determines a random seed port number within the port range 10000 and 60000.
getResponseValidator() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 

H

handleMessage(Message<?>) - Method in class org.springframework.integration.test.support.AbstractResponseValidator
handle the message
hasAllEntries(Map<T, V>) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasAllHeaders(Map<String, ?>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasCorrelationId(V) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasEntry(T, V) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasEntry(T, Matcher<V>) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasExpirationDate(Date) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasExpirationDate(Matcher<Long>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hashCode() - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 
hasHeader(String, V) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasHeader(String, Matcher<V>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasHeaderKey(String) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasKey(T) - Static method in class org.springframework.integration.test.matcher.MapContentMatchers
 
hasMessageId(V) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasPayload(P) - Static method in class org.springframework.integration.test.matcher.PayloadMatcher
 
hasPayload(Matcher<P>) - Static method in class org.springframework.integration.test.matcher.PayloadMatcher
 
hasSequenceNumber(Integer) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasSequenceNumber(Matcher<Integer>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasSequenceSize(Integer) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasSequenceSize(Matcher<Integer>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasTimestamp(Date) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
hasTimestamp(Matcher<Long>) - Static method in class org.springframework.integration.test.matcher.HeaderMatcher
 
HeaderMatcher<T> - Class in org.springframework.integration.test.matcher
Are the MessageHeaders of a Message containing any entry or multiple that match?
HeapDumper - Class in org.springframework.integration.test.util
Use to take a heap dump programmatically.
HeapDumper() - Constructor for class org.springframework.integration.test.util.HeapDumper
 

I

imap(int) - Static method in class org.springframework.integration.test.mail.TestMailServer
 
ImapHandler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.ImapServer.ImapHandler
 
ImapServer(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.ImapServer
 
info() - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for Level.INFO logging with the org.springframework.integration as default category.
init() - Method in class org.springframework.integration.test.support.RequestResponseScenario
 
isListening() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 

L

locateComponentInHistory(List<Properties>, String, int) - Static method in class org.springframework.integration.test.util.TestUtils
 
Log4j2LevelAdjuster - Class in org.springframework.integration.test.rule
A JUnit method Rule that changes the Log4J 2 logger level for a set of classes or packages while a test method is running.
LongRunningIntegrationTest - Class in org.springframework.integration.test.support
Rule to prevent long running tests from running on every build; set environment variable RUN_LONG_INTEGRATION_TESTS on a CI nightly build to ensure coverage.
LongRunningIntegrationTest() - Constructor for class org.springframework.integration.test.support.LongRunningIntegrationTest
 

M

mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.ImapServer
 
mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
MailHandler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.Pop3Server
 
mailHandler(Socket) - Method in class org.springframework.integration.test.mail.TestMailServer.SmtpServer
 
MailServer(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.MailServer
 
MapContentMatchers<T,V> - Class in org.springframework.integration.test.matcher
Matchers that examine the contents of a Map.
matches(Object, Description) - Method in class org.springframework.integration.test.matcher.EqualsResultMatcher
 
matches(Object, Description) - Method in class org.springframework.integration.test.matcher.EventuallyMatcher
 
matches(Object) - Method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
matchesSafely(Message<T>) - Method in class org.springframework.integration.test.matcher.HeaderMatcher
 
matchesSafely(Map<? super T, ? super V>) - Method in class org.springframework.integration.test.matcher.MapContentMatchers
 
matchesSafely(Message<?>) - Method in class org.springframework.integration.test.matcher.PayloadMatcher
 
MESSAGE - Static variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
messages - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
MessageValidator - Class in org.springframework.integration.test.support
Validate a message.
MessageValidator() - Constructor for class org.springframework.integration.test.support.MessageValidator
 
messageWithHeaderEntries(Map<String, ?>) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithHeaderEntry(String, Object) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithHeaderEntry(String, Matcher<T>) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithHeaderKey(String) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithPayload(Matcher<? super T>) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
messageWithPayload(T) - Static method in class org.springframework.integration.test.matcher.MockitoMessageMatchers
 
MockitoMessageMatchers - Class in org.springframework.integration.test.matcher
Mockito matcher factory for Message matcher creation.

N

nextExecutionTime(TriggerContext) - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 

O

OnlyOnceTrigger - Class in org.springframework.integration.test.util
 
OnlyOnceTrigger() - Constructor for class org.springframework.integration.test.util.OnlyOnceTrigger
 
org.springframework.integration.test.mail - package org.springframework.integration.test.mail
Provides testing utils for mail support.
org.springframework.integration.test.matcher - package org.springframework.integration.test.matcher
Provides several BaseMatcher implementations.
org.springframework.integration.test.rule - package org.springframework.integration.test.rule
Provides various test rules.
org.springframework.integration.test.support - package org.springframework.integration.test.support
Provides several test support classes including for testing Spring Integration request-response message scenarios.
org.springframework.integration.test.util - package org.springframework.integration.test.util
Provides various test utilities, for example TestUtils provides convenience helpers to easily retrieve private bean properties.

P

PayloadAndHeaderMatcher<T> - Class in org.springframework.integration.test.matcher
Matcher to make assertions about message equality easier.
PayloadMatcher<T> - Class in org.springframework.integration.test.matcher
Is the payload of a Message equal to a given value or is matching a given matcher?
PayloadValidator<T> - Class in org.springframework.integration.test.support
Validate a message payload.
PayloadValidator() - Constructor for class org.springframework.integration.test.support.PayloadValidator
 
pop3(int) - Static method in class org.springframework.integration.test.mail.TestMailServer
 
Pop3Handler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.Pop3Server.Pop3Handler
 
Pop3Server(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.Pop3Server
 

R

reader - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
registerBean(String, Object) - Method in class org.springframework.integration.test.util.TestUtils.TestApplicationContext
 
registerChannel(String, MessageChannel) - Method in class org.springframework.integration.test.util.TestUtils.TestApplicationContext
 
registerEndpoint(String, Object) - Method in class org.springframework.integration.test.util.TestUtils.TestApplicationContext
 
RequestResponseScenario - Class in org.springframework.integration.test.support
Defines a Spring Integration request response test scenario.
RequestResponseScenario(String, String) - Constructor for class org.springframework.integration.test.support.RequestResponseScenario
Create an instance
reset() - Method in class org.springframework.integration.test.util.OnlyOnceTrigger
 
resetServer() - Method in class org.springframework.integration.test.mail.TestMailServer.ImapServer
 
resetServer() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 
run() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
run() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 

S

sameExceptIgnorableHeaders(Message<P>, String...) - Static method in class org.springframework.integration.test.matcher.PayloadAndHeaderMatcher
 
sb - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
searchReply(String) - Method in class org.springframework.integration.test.mail.TestMailServer.ImapServer.ImapHandler
 
setMessage(Message<?>) - Method in class org.springframework.integration.test.support.RequestResponseScenario
Set the request message (as an alternative to setPayload())
setName(String) - Method in class org.springframework.integration.test.support.RequestResponseScenario
Set the scenario name (optional)
setPayload(Object) - Method in class org.springframework.integration.test.support.RequestResponseScenario
set the payload of the request message
setResponseValidator(AbstractResponseValidator<?>) - Method in class org.springframework.integration.test.support.RequestResponseScenario
Set the response validator
setUp() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
 
SingleRequestResponseScenarioTests - Class in org.springframework.integration.test.support
Convenience class for a single RequestResponseScenario test
SingleRequestResponseScenarioTests() - Constructor for class org.springframework.integration.test.support.SingleRequestResponseScenarioTests
 
smtp(int) - Static method in class org.springframework.integration.test.mail.TestMailServer
 
SmtpHandler(Socket) - Constructor for class org.springframework.integration.test.mail.TestMailServer.SmtpServer.SmtpHandler
 
SmtpServer(int) - Constructor for class org.springframework.integration.test.mail.TestMailServer.SmtpServer
 
socket - Variable in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
SocketUtils - Class in org.springframework.integration.test.util
Deprecated.
- it's generally better to set the server port to 0; let the operating system choose a port; wait until the server starts (see TestingUtilities in the ip module for an example), then set the port on the client factory.
stop() - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer
 

T

TestMailServer - Class in org.springframework.integration.test.mail
A basic test mail server for pop3, imap, Serves up a canned email message with each protocol.
TestMailServer.ImapServer - Class in org.springframework.integration.test.mail
 
TestMailServer.ImapServer.ImapHandler - Class in org.springframework.integration.test.mail
 
TestMailServer.MailServer - Class in org.springframework.integration.test.mail
 
TestMailServer.MailServer.MailHandler - Class in org.springframework.integration.test.mail
 
TestMailServer.Pop3Server - Class in org.springframework.integration.test.mail
 
TestMailServer.Pop3Server.Pop3Handler - Class in org.springframework.integration.test.mail
 
TestMailServer.SmtpServer - Class in org.springframework.integration.test.mail
 
TestMailServer.SmtpServer.SmtpHandler - Class in org.springframework.integration.test.mail
 
testRequestResponseScenarios() - Method in class org.springframework.integration.test.support.AbstractRequestResponseScenarioTests
Execute each scenario.
TestUtils - Class in org.springframework.integration.test.util
 
TestUtils() - Constructor for class org.springframework.integration.test.util.TestUtils
 
TestUtils.TestApplicationContext - Class in org.springframework.integration.test.util
A GenericApplicationContext extension with some support methods to register Spring Integration beans in the application context at runtime.
trace() - Static method in class org.springframework.integration.test.rule.Log4j2LevelAdjuster
The factory to produce Log4j2LevelAdjuster instances for Level.TRACE logging with the org.springframework.integration as default category.

V

validateMessage(Message<?>) - Method in class org.springframework.integration.test.support.MessageValidator
Implement this method to validate the message
validateResponse(T) - Method in class org.springframework.integration.test.support.AbstractResponseValidator
Implement this method to validate the response (Message or Payload)
validateResponse(Message<?>) - Method in class org.springframework.integration.test.support.MessageValidator
 

W

write(String) - Method in class org.springframework.integration.test.mail.TestMailServer.MailServer.MailHandler
 
A B C D E F G H I L M N O P R S T V W 
Skip navigation links