public static interface DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default DataSetTestEndpointBuilderFactory.AdvancedDataSetTestEndpointBuilder |
advanced() |
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
anyOrder(boolean anyOrder)
Whether the expected messages should arrive in the same order or can
be in any order.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
anyOrder(String anyOrder)
Whether the expected messages should arrive in the same order or can
be in any order.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
assertPeriod(long assertPeriod)
Sets a grace period after which the mock endpoint will re-assert to
ensure the preliminary assertion is still valid.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
assertPeriod(String assertPeriod)
Sets a grace period after which the mock endpoint will re-assert to
ensure the preliminary assertion is still valid.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
delimiter(String delimiter)
The split delimiter to use when split is enabled.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
expectedCount(int expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
expectedCount(String expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
log(boolean log)
To turn on logging when the mock receives an incoming message.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
log(String log)
To turn on logging when the mock receives an incoming message.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
reportGroup(int reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
reportGroup(String reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
resultMinimumWaitTime(long resultMinimumWaitTime)
Sets the minimum expected amount of time (in millis) the
assertIsSatisfied() will wait on a latch until it is satisfied.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
resultMinimumWaitTime(String resultMinimumWaitTime)
Sets the minimum expected amount of time (in millis) the
assertIsSatisfied() will wait on a latch until it is satisfied.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
resultWaitTime(long resultWaitTime)
Sets the maximum amount of time (in millis) the assertIsSatisfied()
will wait on a latch until it is satisfied.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
resultWaitTime(String resultWaitTime)
Sets the maximum amount of time (in millis) the assertIsSatisfied()
will wait on a latch until it is satisfied.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
retainFirst(int retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
retainFirst(String retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
retainLast(int retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
retainLast(String retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
split(boolean split)
If enabled the messages loaded from the test endpoint will be split
using new line delimiters so each line is an expected message.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
split(String split)
If enabled the messages loaded from the test endpoint will be split
using new line delimiters so each line is an expected message.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
timeout(long timeout)
The timeout to use when polling for message bodies from the URI.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
timeout(String timeout)
The timeout to use when polling for message bodies from the URI.
|
default DataSetTestEndpointBuilderFactory.AdvancedDataSetTestEndpointBuilder advanced()
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder anyOrder(boolean anyOrder)
anyOrder - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder anyOrder(String anyOrder)
anyOrder - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder assertPeriod(long assertPeriod)
assertPeriod - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder assertPeriod(String assertPeriod)
assertPeriod - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder delimiter(String delimiter)
delimiter - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder expectedCount(int expectedCount)
expectedCount - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder expectedCount(String expectedCount)
expectedCount - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder failFast(boolean failFast)
failFast - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder failFast(String failFast)
failFast - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder log(boolean log)
log - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder log(String log)
log - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder reportGroup(int reportGroup)
reportGroup - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder reportGroup(String reportGroup)
reportGroup - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder resultMinimumWaitTime(long resultMinimumWaitTime)
resultMinimumWaitTime - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder resultMinimumWaitTime(String resultMinimumWaitTime)
resultMinimumWaitTime - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder resultWaitTime(long resultWaitTime)
resultWaitTime - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder resultWaitTime(String resultWaitTime)
resultWaitTime - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder retainFirst(int retainFirst)
retainFirst - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder retainFirst(String retainFirst)
retainFirst - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder retainLast(int retainLast)
retainLast - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder retainLast(String retainLast)
retainLast - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder sleepForEmptyTest(long sleepForEmptyTest)
sleepForEmptyTest - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder sleepForEmptyTest(String sleepForEmptyTest)
sleepForEmptyTest - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder split(boolean split)
split - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder split(String split)
split - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder timeout(long timeout)
timeout - the value to setdefault DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder timeout(String timeout)
timeout - the value to setApache Camel