Package | Description |
---|---|
org.apache.camel.component.mock |
The Mock Component which is used for testing of routing and mediation rules.
|
Modifier and Type | Method and Description |
---|---|
AssertionClause |
MockEndpoint.allMessages()
Adds an assertion to all the received messages
|
AssertionClause |
MockEndpoint.expectedBodyReceived()
Adds an expectation that the given body value are received by this endpoint
|
AssertionClause |
MockEndpoint.expectsAscending()
Adds an expectation that messages received should have ascending values
of the given expression such as a user generated counter value
|
AssertionClause |
MockEndpoint.expectsDescending()
Adds an expectation that messages received should have descending values
of the given expression such as a user generated counter value
|
AssertionClause |
MockEndpoint.expectsNoDuplicates()
Adds an expectation that no duplicate messages should be received using
the expression to determine the message ID
|
AssertionClause |
MockEndpoint.message(int messageIndex)
Adds an assertion to the given message index
|
AssertionClause |
AssertionClause.predicate(Predicate predicate)
Adds the given predicate to this assertion clause
|
Modifier and Type | Method and Description |
---|---|
ExpressionClause<AssertionClause> |
AssertionClause.predicate()
Adds the given predicate to this assertion clause
|
Apache Camel