| Package | Description |
|---|---|
| org.apache.camel.builder.endpoint | |
| org.apache.camel.builder.endpoint.dsl |
| Modifier and Type | Method and Description |
|---|---|
static DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
StaticEndpointBuilders.datasetTest(String path)
DataSet Test (camel-dataset)
Extends the mock component by pulling messages from another endpoint on
startup to set the expected message bodies.
|
static DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
StaticEndpointBuilders.datasetTest(String componentName,
String path)
DataSet Test (camel-dataset)
Extends the mock component by pulling messages from another endpoint on
startup to set the expected message bodies.
|
| Modifier and Type | Method and Description |
|---|---|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.anyOrder(boolean anyOrder)
Whether the expected messages should arrive in the same order or can
be in any order.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.anyOrder(String anyOrder)
Whether the expected messages should arrive in the same order or can
be in any order.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 |
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 |
DataSetTestEndpointBuilderFactory.AdvancedDataSetTestEndpointBuilder.basic() |
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestBuilders.datasetTest(String path)
DataSet Test (camel-dataset)
Extends the mock component by pulling messages from another endpoint
on startup to set the expected message bodies.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestBuilders.datasetTest(String componentName,
String path)
DataSet Test (camel-dataset)
Extends the mock component by pulling messages from another endpoint
on startup to set the expected message bodies.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.delimiter(String delimiter)
The split delimiter to use when split is enabled.
|
static DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.endpointBuilder(String componentName,
String path) |
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.expectedCount(int expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.expectedCount(String expectedCount)
Specifies the expected number of message exchanges that should be
received by this endpoint.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 |
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 |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.log(boolean log)
To turn on logging when the mock receives an incoming message.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.log(String log)
To turn on logging when the mock receives an incoming message.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.reportGroup(int reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.reportGroup(String reportGroup)
A number that is used to turn on throughput logging based on groups
of the size.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 |
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 |
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 |
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 |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.retainFirst(int retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.retainFirst(String retainFirst)
Specifies to only retain the first n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.retainLast(int retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.retainLast(String retainLast)
Specifies to only retain the last n'th number of received Exchanges.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
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 |
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 |
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 |
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 |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.timeout(long timeout)
The timeout to use when polling for message bodies from the URI.
|
default DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder |
DataSetTestEndpointBuilderFactory.DataSetTestEndpointBuilder.timeout(String timeout)
The timeout to use when polling for message bodies from the URI.
|
Apache Camel