Adding note in the docs about Stubrunner and messaging; fixes #407

This commit is contained in:
Marcin Grzejszczak
2017-09-01 14:38:51 +02:00
parent 6d321c697d
commit d9fe4ac307
5 changed files with 21 additions and 0 deletions

View File

@@ -21,6 +21,10 @@ The message is triggered to all matching message listeners.
It's enough to have both Spring AMQP and Spring Cloud Contract Stub Runner on the classpath and set the property `stubrunner.amqp.enabled=true`.
Remember to annotate your test class with `@AutoConfigureStubRunner`.
IMPORTANT: If you already have Stream and Integration on the classpath you need
to disable them explicitly via `stubrunner.stream.enabled=false` and `stubrunner.integration.enabled=false`
properties
==== Examples
===== Stubs structure

View File

@@ -12,6 +12,10 @@ routes.
It's enough to have both Apache Camel and Spring Cloud Contract Stub Runner on classpath.
Remember to annotate your test class with `@AutoConfigureStubRunner`.
==== Disabling the functionality
If you need to disable this functionality just pass `stubrunner.camel.enabled=false` property.
==== Examples
===== Stubs structure

View File

@@ -12,6 +12,10 @@ routes.
It's enough to have both Spring Integration and Spring Cloud Contract Stub Runner on classpath.
Remember to annotate your test class with `@AutoConfigureStubRunner`.
==== Disabling the functionality
If you need to disable this functionality just pass `stubrunner.integration.enabled=false` property.
==== Examples
===== Stubs structure

View File

@@ -32,6 +32,10 @@ testCompile "org.springframework.cloud:spring-cloud-stream-test-support"
It's enough to have both Spring Cloud Stream and Spring Cloud Contract Stub Runner on classpath.
Remember to annotate your test class with `@AutoConfigureStubRunner`.
==== Disabling the functionality
If you need to disable this functionality just pass `stubrunner.stream.enabled=false` property.
==== Examples
===== Stubs structure