public static interface MockEndpointBuilderFactory.MockEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default MockEndpointBuilderFactory.AdvancedMockEndpointBuilder |
advanced() |
default 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 |
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 |
expectedCount(int expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
expectedCount(String expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default 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 |
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 |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
reportGroup(int reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
reportGroup(String reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default 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 |
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 |
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 |
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 |
retainFirst(int retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
retainFirst(String retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
retainLast(int retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default MockEndpointBuilderFactory.MockEndpointBuilder |
retainLast(String retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default 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 |
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.
|
default MockEndpointBuilderFactory.AdvancedMockEndpointBuilder advanced()
default MockEndpointBuilderFactory.MockEndpointBuilder assertPeriod(long assertPeriod)
assertPeriod - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder assertPeriod(String assertPeriod)
assertPeriod - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder expectedCount(int expectedCount)
expectedCount - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder expectedCount(String expectedCount)
expectedCount - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder failFast(boolean failFast)
failFast - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder failFast(String failFast)
failFast - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder reportGroup(int reportGroup)
reportGroup - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder reportGroup(String reportGroup)
reportGroup - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder resultMinimumWaitTime(long resultMinimumWaitTime)
resultMinimumWaitTime - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder resultMinimumWaitTime(String resultMinimumWaitTime)
resultMinimumWaitTime - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder resultWaitTime(long resultWaitTime)
resultWaitTime - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder resultWaitTime(String resultWaitTime)
resultWaitTime - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder retainFirst(int retainFirst)
retainFirst - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder retainFirst(String retainFirst)
retainFirst - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder retainLast(int retainLast)
retainLast - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder retainLast(String retainLast)
retainLast - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder sleepForEmptyTest(long sleepForEmptyTest)
sleepForEmptyTest - the value to setdefault MockEndpointBuilderFactory.MockEndpointBuilder sleepForEmptyTest(String sleepForEmptyTest)
sleepForEmptyTest - the value to setApache Camel