@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Inherited
public @interface SpringIntegrationTest
MockIntegrationContext bean with the
MockIntegrationContext.MOCK_INTEGRATION_CONTEXT_BEAN_NAME which can be used
in tests for mocking and verifying integration flows.
IntegrationEndpointsInitializer bean which is used
to customize AbstractEndpoint
beans with provided options on this annotation.
The typical usage of this annotation is like:
@RunWith(SpringRunner.class)
@SpringIntegrationTest
public class MyIntegrationTests {
@@Autowired
private MockIntegrationContext mockIntegrationContext;
}
MockIntegrationContext| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String[] |
noAutoStartup
Specify a simple matching patterns ("xxx*", "*xxx", "*xxx*" or "xxx*yyy") for
AbstractEndpoint
bean names to mark them as autoStartup = false
during context initialization. |
public abstract java.lang.String[] noAutoStartup
AbstractEndpoint
bean names to mark them as autoStartup = false
during context initialization.IntegrationEndpointsInitializer,
PatternMatchUtils