| Package | Description |
|---|---|
| org.apache.camel.builder.endpoint | |
| org.apache.camel.builder.endpoint.dsl |
| Modifier and Type | Method and Description |
|---|---|
static MockEndpointBuilderFactory.MockEndpointBuilder |
StaticEndpointBuilders.mock(String path)
Mock (camel-mock)
Test routes and mediation rules using mocks.
|
static MockEndpointBuilderFactory.MockEndpointBuilder |
StaticEndpointBuilders.mock(String componentName,
String path)
Mock (camel-mock)
Test routes and mediation rules using mocks.
|
| Modifier and Type | Method and Description |
|---|---|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.assertPeriod(long assertPeriod)
Sets a grace period after which the mock endpoint will re-assert to
ensure the preliminary assertion is still valid.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.assertPeriod(String assertPeriod)
Sets a grace period after which the mock endpoint will re-assert to
ensure the preliminary assertion is still valid.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.AdvancedMockEndpointBuilder.basic() |
static MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.endpointBuilder(String componentName,
String path) |
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.expectedCount(int expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.expectedCount(String expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.failFast(boolean failFast)
Sets whether assertIsSatisfied() should fail fast at the first
detected failed expectation while it may otherwise wait for all
expected messages to arrive before performing expectations
verifications.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.failFast(String failFast)
Sets whether assertIsSatisfied() should fail fast at the first
detected failed expectation while it may otherwise wait for all
expected messages to arrive before performing expectations
verifications.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockBuilders.mock(String path)
Mock (camel-mock)
Test routes and mediation rules using mocks.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockBuilders.mock(String componentName,
String path)
Mock (camel-mock)
Test routes and mediation rules using mocks.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.reportGroup(int reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.reportGroup(String reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.resultMinimumWaitTime(long resultMinimumWaitTime)
Sets the minimum expected amount of time (in millis) the
assertIsSatisfied() will wait on a latch until it is satisfied.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.resultMinimumWaitTime(String resultMinimumWaitTime)
Sets the minimum expected amount of time (in millis) the
assertIsSatisfied() will wait on a latch until it is satisfied.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.resultWaitTime(long resultWaitTime)
Sets the maximum amount of time (in millis) the assertIsSatisfied()
will wait on a latch until it is satisfied.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.resultWaitTime(String resultWaitTime)
Sets the maximum amount of time (in millis) the assertIsSatisfied()
will wait on a latch until it is satisfied.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.retainFirst(int retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.retainFirst(String retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.retainLast(int retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.retainLast(String retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.sleepForEmptyTest(long sleepForEmptyTest)
Allows a sleep to be specified to wait to check that this endpoint
really is empty when expectedMessageCount(int) is called with zero.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
MockEndpointBuilderFactory.MockEndpointBuilder.sleepForEmptyTest(String sleepForEmptyTest)
Allows a sleep to be specified to wait to check that this endpoint
really is empty when expectedMessageCount(int) is called with zero.
|
Apache Camel