Skip navigation links
A B C D E F G H I J L M N O P R S T W X 

A

addPredicate(Predicate) - Method in class org.apache.camel.component.mock.AssertionClause
 
addReceivedExchange(Exchange) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds the received exchange.
afterPrevious() - Method in class org.apache.camel.component.mock.TimeClause
 
allMessages() - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an assertion to all the received messages
append(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
Appends the string evaluation of this expression with the given value
applyAssertionOn(MockEndpoint, int, Exchange) - Method in class org.apache.camel.component.mock.AssertionClause
Performs any assertions on the given exchange
arrives() - Method in class org.apache.camel.component.mock.AssertionClause
Adds a TimeClause predicate for message arriving.
asExpression(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
assertEquals(String, Object, Object) - Method in class org.apache.camel.component.mock.MockEndpoint
 
assertExchangeReceived(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Asserts that the given index of message is received (starting at zero)
AssertionClause - Class in org.apache.camel.component.mock
A builder of assertions on message exchanges
AssertionClause(MockEndpoint) - Constructor for class org.apache.camel.component.mock.AssertionClause
 
AssertionClause.PredicateValueBuilder - Class in org.apache.camel.component.mock
Public class needed for fluent builders
assertIsNotSatisfied() - Method in class org.apache.camel.component.mock.MockEndpoint
Validates that the assertions fail on this endpoint
assertIsNotSatisfied(long) - Method in class org.apache.camel.component.mock.MockEndpoint
Validates that the assertions fail on this endpoint
assertIsSatisfied(long, TimeUnit, MockEndpoint...) - Static method in class org.apache.camel.component.mock.MockEndpoint
 
assertIsSatisfied(MockEndpoint...) - Static method in class org.apache.camel.component.mock.MockEndpoint
 
assertIsSatisfied(CamelContext) - Static method in class org.apache.camel.component.mock.MockEndpoint
Asserts that all the expectations on any MockEndpoint instances registered in the given context are valid
assertIsSatisfied(CamelContext, long, TimeUnit) - Static method in class org.apache.camel.component.mock.MockEndpoint
Asserts that all the expectations on any MockEndpoint instances registered in the given context are valid
assertIsSatisfied() - Method in class org.apache.camel.component.mock.MockEndpoint
Validates that all the available expectations on this endpoint are satisfied; or throw an exception
assertIsSatisfied(long) - Method in class org.apache.camel.component.mock.MockEndpoint
Validates that all the available expectations on this endpoint are satisfied; or throw an exception
assertMessagesAscending(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
Asserts that the messages have ascending values of the given expression
assertMessagesDescending(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
Asserts that the messages have descending values of the given expression
assertMessagesSorted(Expression, boolean) - Method in class org.apache.camel.component.mock.MockEndpoint
 
assertNoDuplicates(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
 
assertTrue(String, boolean) - Method in class org.apache.camel.component.mock.MockEndpoint
 
assertWait(long, TimeUnit, MockEndpoint...) - Static method in class org.apache.camel.component.mock.MockEndpoint
 
attachments() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of the inbound message attachments
attachments() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of the inbound message attachments
await() - Method in class org.apache.camel.component.mock.MockEndpoint
 
await(long, TimeUnit) - Method in class org.apache.camel.component.mock.MockEndpoint
 

B

beforeNext() - Method in class org.apache.camel.component.mock.TimeClause
 
between(int, int) - Method in class org.apache.camel.component.mock.TimeClause
 
body() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an inbound message body
body(Function<Object, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an inbound message body
body(Supplier<Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an inbound message body
body(BiFunction<Object, Map<String, Object>, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an inbound message body and headers
body(Class<?>) - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an inbound message body converted to the expected type
body(Class<B>, Function<B, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an inbound message body converted to the expected type
body(Class<B>, BiFunction<B, Map<String, Object>, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an inbound message body converted to the expected type and headers
body() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an inbound message body
body(Class<?>) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an inbound message body converted to the expected type

C

configureExpression(CamelContext, Expression) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
 
constant(Object) - Method in class org.apache.camel.component.mock.MockExpressionClause
Specify the constant expression value.
constant(Object) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Specify the constant expression value.
contains(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
Create a predicate that the left hand expression contains the value of the right hand expression
convertTo(Class<?>) - Method in class org.apache.camel.component.mock.MockValueBuilder
Converts the current value to the given type using the registered type converters
convertToString() - Method in class org.apache.camel.component.mock.MockValueBuilder
Converts the current value to a String using the registered type converters
createConsumer(Processor) - Method in class org.apache.camel.component.mock.MockEndpoint
 
createEndpoint(String, String, Map<String, Object>) - Method in class org.apache.camel.component.mock.MockComponent
 
createExpression(CamelContext) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
 
createProducer() - Method in class org.apache.camel.component.mock.MockEndpoint
 
currentIndex - Variable in class org.apache.camel.component.mock.AssertionClause
 

D

doAssertIsSatisfied(long) - Method in class org.apache.camel.component.mock.MockEndpoint
 
doInit() - Method in class org.apache.camel.component.mock.MockEndpoint
 

E

endsWith(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
evaluate(Exchange, Class<T>) - Method in class org.apache.camel.component.mock.MockExpressionClause
 
evaluate(Exchange, Class<T>) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
exchange() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of the exchange
exchange(Function<Exchange, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of the exchange
exchange() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of the exchange
exchangePattern() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of the exchange pattern
exchangeProperties() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of the exchange properties
exchangeProperties() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of the exchange properties
exchangeProperty(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an exchange property of the given name
exchangeProperty(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an exchange property of the given name
expectedBodiesReceived(List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given body values are received by this endpoint in the specified order

Important: The number of values must match the expected number of messages, so if you expect 3 messages, then there must be 3 values.

expectedBodiesReceived(Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets an expectation that the given body values are received by this endpoint

Important: The number of bodies must match the expected number of messages, so if you expect 3 messages, then there must be 3 bodies.

expectedBodiesReceivedInAnyOrder(List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given body values are received by this endpoint in any order

Important: The number of bodies must match the expected number of messages, so if you expect 3 messages, then there must be 3 bodies.

expectedBodiesReceivedInAnyOrder(Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given body values are received by this endpoint in any order

Important: The number of bodies must match the expected number of messages, so if you expect 3 messages, then there must be 3 bodies.

expectedBodyReceived() - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given body value are received by this endpoint
expectedExchangePattern(ExchangePattern) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that messages received should have the given exchange pattern
expectedFileExists(String) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that a file exists with the given name
expectedFileExists(String, String) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that a file exists with the given name

Will wait at most 5 seconds while checking for the existence of the file.

expectedHeaderReceived(String, Object) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets an expectation that the given header name & value are received by this endpoint

You can set multiple expectations for different header names.

expectedHeaderValuesReceivedInAnyOrder(String, List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given header values are received by this endpoint in any order.
expectedHeaderValuesReceivedInAnyOrder(String, Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given header values are received by this endpoint in any order

Important: The number of values must match the expected number of messages, so if you expect 3 messages, then there must be 3 values.

expectedMessageCount(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Specifies the expected number of message exchanges that should be received by this endpoint If you want to assert that exactly n messages arrives to this mock endpoint, then see also the MockEndpoint.setAssertPeriod(long) method for further details.
expectedMessagesMatches(Predicate...) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets an expectation that the given predicates matches the received messages by this endpoint
expectedMinimumMessageCount(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Specifies the minimum number of expected message exchanges that should be received by this endpoint
expectedPropertyReceived(String, Object) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets an expectation that the given property name & value are received by this endpoint

You can set multiple expectations for different property names.

expectedPropertyValuesReceivedInAnyOrder(String, List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given property values are received by this endpoint in any order.
expectedPropertyValuesReceivedInAnyOrder(String, Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that the given property values are received by this endpoint in any order

Important: The number of values must match the expected number of messages, so if you expect 3 messages, then there must be 3 values.

expects(Runnable) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds the expectation which will be invoked when enough messages are received
expectsAscending(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that messages received should have ascending values of the given expression such as a user generated counter value
expectsAscending() - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that messages received should have ascending values of the given expression such as a user generated counter value
expectsDescending(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that messages received should have descending values of the given expression such as a user generated counter value
expectsDescending() - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that messages received should have descending values of the given expression such as a user generated counter value
expectsMessageCount(int, MockEndpoint...) - Static method in class org.apache.camel.component.mock.MockEndpoint
 
expectsNoDuplicates(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that no duplicate messages should be received using the expression to determine the message ID
expectsNoDuplicates() - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an expectation that no duplicate messages should be received using the expression to determine the message ID
expression(Expression) - Method in class org.apache.camel.component.mock.AssertionClause
 
expression(Expression) - Method in class org.apache.camel.component.mock.MockExpressionClause
Specify an Expression instance
expression(Expression) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Specify an Expression instance

F

fail(Object) - Method in class org.apache.camel.component.mock.MockEndpoint
 

G

getExchanges() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getExpectedCount() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getExpectedMinimumCount() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getExpression() - Method in class org.apache.camel.component.mock.MockValueBuilder
 
getExpressionType() - Method in class org.apache.camel.component.mock.MockExpressionClause
 
getExpressionType() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
 
getExpressionValue() - Method in class org.apache.camel.component.mock.MockExpressionClause
 
getExpressionValue() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
 
getFailures() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getLeft() - Method in class org.apache.camel.component.mock.TimeClause
 
getName() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getNumber() - Method in class org.apache.camel.component.mock.Time
 
getOperationText() - Method in class org.apache.camel.component.mock.TimeClause
 
getOperator() - Method in class org.apache.camel.component.mock.TimeClause
 
getReceivedCounter() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getReceivedExchanges() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getReporter() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getResultWaitTime() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getRight() - Method in class org.apache.camel.component.mock.TimeClause
 
getSleepForEmptyTest() - Method in class org.apache.camel.component.mock.MockEndpoint
 
getTimeUnit() - Method in class org.apache.camel.component.mock.Time
 
groovy(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates a Groovy expression
groovy(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates a Groovy expression

H

handle(Exchange) - Method in class org.apache.camel.component.mock.MockEndpoint
Handles the incoming exchange.
header(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an inbound message header of the given name
header(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an inbound message header of the given name
headers() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of the inbound headers
headers() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of the inbound headers
hl7terser(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport

I

in(Object...) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
in(Predicate...) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
inMessage() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an inbound message
inMessage(Function<Message, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an inbound message
inMessage() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an inbound message
isCopyOnExchange() - Method in class org.apache.camel.component.mock.MockEndpoint
 
isEqualTo(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isEqualToIgnoreCase(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isGreaterThan(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isGreaterThanOrEqualTo(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isInstanceOf(Class<?>) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isLenientProperties() - Method in class org.apache.camel.component.mock.MockEndpoint
 
isLessThan(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isLessThanOrEqualTo(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isNotEqualTo(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isNotNull() - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isNull() - Method in class org.apache.camel.component.mock.MockValueBuilder
 
isReportGroup() - Method in class org.apache.camel.component.mock.MockEndpoint
 

J

jsonpath(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
jsonpath(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport

L

language(ExpressionFactory) - Method in class org.apache.camel.component.mock.AssertionClause
 
language(String, String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates a given language name with the expression text
language(ExpressionFactory) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Specify an ExpressionFactory instance
language(String, String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates a given language name with the expression text

M

matches(Exchange) - Method in class org.apache.camel.component.mock.MockExpressionClause
 
matches(Exchange) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
matches(Expression) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
matches() - Method in class org.apache.camel.component.mock.MockValueBuilder
 
matches(Exchange) - Method in class org.apache.camel.component.mock.TimeClause
 
matches(Exchange, Object, Object) - Method in class org.apache.camel.component.mock.TimeClause
 
matchesReturningFailureMessage(Exchange) - Method in class org.apache.camel.component.mock.TimeClause
 
message(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Adds an assertion to the given message index
message() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an inbound message
message(Function<Message, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an inbound message
method(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates an expression using the bean language which basically means the bean is invoked to determine the expression value.
method(String, String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates an expression using the bean language which basically means the bean is invoked to determine the expression value.
method(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates an expression using the method(String, String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates an expression using the millis() - Method in class org.apache.camel.component.mock.TimeClause.TimeClassUnit
 
minutes() - Method in class org.apache.camel.component.mock.TimeClause.TimeClassUnit
 
mock - Variable in class org.apache.camel.component.mock.AssertionClause
 
MockComponent - Class in org.apache.camel.component.mock
The Mock Component provides mock endpoints for testing.
MockComponent() - Constructor for class org.apache.camel.component.mock.MockComponent
 
MockComponent(CamelContext) - Constructor for class org.apache.camel.component.mock.MockComponent
 
MockEndpoint - Class in org.apache.camel.component.mock
The mock component is used for testing routes and mediation rules using mocks.
MockEndpoint() - Constructor for class org.apache.camel.component.mock.MockEndpoint
 
MockEndpoint(String, Component) - Constructor for class org.apache.camel.component.mock.MockEndpoint
 
MockExpressionClause<T> - Class in org.apache.camel.component.mock
Represents an expression clause within the DSL which when the expression is complete the clause continues to another part of the DSL

This implementation is a derived copy of the org.apache.camel.builder.ExpressionClause from camel-core, that are specialized for being used with the mock component and separated from camel-core.

MockExpressionClause(T) - Constructor for class org.apache.camel.component.mock.MockExpressionClause
 
MockExpressionClauseSupport<T> - Class in org.apache.camel.component.mock
A support class for building expression clauses.
MockExpressionClauseSupport(T) - Constructor for class org.apache.camel.component.mock.MockExpressionClauseSupport
 
MockValueBuilder - Class in org.apache.camel.component.mock
A builder of expressions or predicates based on values.
MockValueBuilder(Expression) - Constructor for class org.apache.camel.component.mock.MockValueBuilder
 
mvel(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates a MVEL expression
mvel(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates a MVEL expression

N

noLaterThan(int) - Method in class org.apache.camel.component.mock.TimeClause
 
not(Predicate) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
not() - Method in class org.apache.camel.component.mock.MockValueBuilder
Negates the built expression.

O

ognl(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates an OGNL expression
ognl(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates an OGNL expression
onExchange(Exchange) - Method in class org.apache.camel.component.mock.MockEndpoint
 
onNewPredicate(Predicate) - Method in class org.apache.camel.component.mock.AssertionClause.PredicateValueBuilder
 
onNewPredicate(Predicate) - Method in class org.apache.camel.component.mock.MockValueBuilder
A strategy method to allow derived classes to deal with the newly created predicate in different ways
onNewValueBuilder(Expression) - Method in class org.apache.camel.component.mock.AssertionClause.PredicateValueBuilder
 
onNewValueBuilder(Expression) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
org.apache.camel.component.mock - package org.apache.camel.component.mock
The Mock Component which is used for testing of routing and mediation rules.
outBody() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an outbound message body
outBody(Function<Object, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an outbound message body
outBody(BiFunction<Object, Map<String, Object>, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an outbound message body and headers
outBody(Class<?>) - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an outbound message body converted to the expected type
outBody(Class<B>, Function<B, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an outbound message body converted to the expected type
outBody(Class<B>, BiFunction<B, Map<String, Object>, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an outbound message body converted to the expected type and headers
outBody() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an outbound message body
outBody(Class<?>) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an outbound message body converted to the expected type
outHeader(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an outbound message header of the given name
outHeader(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an outbound message header of the given name
outHeaders() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of the outbound headers
outHeaders() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of the outbound headers
outMessage() - Method in class org.apache.camel.component.mock.MockExpressionClause
An expression of an outbound message
outMessage(Function<Message, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
A functional expression of an outbound message
outMessage() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
An expression of an inbound message

P

performAssertions(Exchange, Exchange) - Method in class org.apache.camel.component.mock.MockEndpoint
Performs the assertions on the incoming exchange.
predicate(Predicate) - Method in class org.apache.camel.component.mock.AssertionClause
Adds the given predicate to this assertion clause
predicate() - Method in class org.apache.camel.component.mock.AssertionClause
Adds the given predicate to this assertion clause
PredicateValueBuilder(Expression) - Constructor for class org.apache.camel.component.mock.AssertionClause.PredicateValueBuilder
 
prepend(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
Prepends the string evaluation of this expression with the given value

R

ref(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates a Ref expression
ref(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates a Expression by looking up existing Expression from the Registry
regex(String) - Method in class org.apache.camel.component.mock.MockValueBuilder
Creates a predicate which is true if this expression matches the given regular expression
regexReplaceAll(String, String) - Method in class org.apache.camel.component.mock.MockValueBuilder
Replaces all occurrences of the regular expression with the given replacement
regexReplaceAll(String, Expression) - Method in class org.apache.camel.component.mock.MockValueBuilder
Replaces all occurrences of the regular expression with the given replacement
regexTokenize(String) - Method in class org.apache.camel.component.mock.MockValueBuilder
Tokenizes the string conversion of this expression using the given regular expression
reporter - Variable in class org.apache.camel.component.mock.MockEndpoint
 
reset() - Method in class org.apache.camel.component.mock.MockEndpoint
 
resetMocks(CamelContext) - Static method in class org.apache.camel.component.mock.MockEndpoint
Reset all mock endpoints
resolve(CamelContext, String) - Static method in class org.apache.camel.component.mock.MockEndpoint
A helper method to resolve the mock endpoint of the given URI on the given context
returnReplyBody(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
Set the expression which value will be set to the message body
returnReplyHeader(String, Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
Set the expression which value will be set to the message header

S

seconds() - Method in class org.apache.camel.component.mock.TimeClause.TimeClassUnit
 
setAssertPeriod(CamelContext, long) - Static method in class org.apache.camel.component.mock.MockEndpoint
Sets the assert period on all the expectations on any MockEndpoint instances registered in the given context.
setAssertPeriod(long) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets a grace period after which the mock endpoint will re-assert to ensure the preliminary assertion is still valid.
setCopyOnExchange(boolean) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets whether to make a deep copy of the incoming Exchange when received at this mock endpoint.
setExpectedCount(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Specifies the expected number of message exchanges that should be received by this endpoint.
setExpectedMessageCount(int) - Method in class org.apache.camel.component.mock.MockEndpoint
 
setExpressionType(ExpressionFactory) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
 
setExpressionValue(Expression) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
 
setMinimumExpectedMessageCount(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Specifies the minimum number of expected message exchanges that should be received by this endpoint
setName(String) - Method in class org.apache.camel.component.mock.MockEndpoint
 
setReporter(Processor) - Method in class org.apache.camel.component.mock.MockEndpoint
Allows a processor to added to the endpoint to report on progress of the test
setReportGroup(int) - Method in class org.apache.camel.component.mock.MockEndpoint
A number that is used to turn on throughput logging based on groups of the size.
setResultMinimumWaitTime(long) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets the minimum expected amount of time (in millis) the MockEndpoint.assertIsSatisfied() will wait on a latch until it is satisfied
setResultWaitTime(long) - Method in class org.apache.camel.component.mock.MockEndpoint
Sets the maximum amount of time (in millis) the MockEndpoint.assertIsSatisfied() will wait on a latch until it is satisfied
setRetainFirst(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Specifies to only retain the first n'th number of received Exchanges.
setRetainLast(int) - Method in class org.apache.camel.component.mock.MockEndpoint
Specifies to only retain the last n'th number of received Exchanges.
setSleepForEmptyTest(long) - Method in class org.apache.camel.component.mock.MockEndpoint
Allows a sleep to be specified to wait to check that this endpoint really is empty when MockEndpoint.expectedMessageCount(int) is called with zero
simple(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates a Simple expression
simple(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates a Simple expression
sort(Comparator<?>) - Method in class org.apache.camel.component.mock.MockValueBuilder
Sorts the current value using the given comparator.
spel(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates a SpEL expression
spel(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates an SpEL expression
startsWith(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
 

T

Time - Class in org.apache.camel.component.mock
A helper class for working with times in various units
Time(long, TimeUnit) - Constructor for class org.apache.camel.component.mock.Time
 
TimeClassUnit(TimeClause, int) - Constructor for class org.apache.camel.component.mock.TimeClause.TimeClassUnit
 
TimeClassUnit(TimeClause, int, int) - Constructor for class org.apache.camel.component.mock.TimeClause.TimeClassUnit
 
TimeClause - Class in org.apache.camel.component.mock
Represents time based clauses for setting expectations on the mocks.
TimeClause(Expression, Expression) - Constructor for class org.apache.camel.component.mock.TimeClause
 
TimeClause.TimeClassUnit - Class in org.apache.camel.component.mock
 
tokenize() - Method in class org.apache.camel.component.mock.MockValueBuilder
 
tokenize(String) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
tokenize(String, int, boolean) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
tokenize(String, String, boolean) - Method in class org.apache.camel.component.mock.MockValueBuilder
 
toMillis() - Method in class org.apache.camel.component.mock.Time
 
toString() - Method in class org.apache.camel.component.mock.MockValueBuilder
 
toString() - Method in class org.apache.camel.component.mock.Time
 
toString() - Method in class org.apache.camel.component.mock.TimeClause
 

W

waitForCompleteLatch() - Method in class org.apache.camel.component.mock.MockEndpoint
 
waitForCompleteLatch(long) - Method in class org.apache.camel.component.mock.MockEndpoint
 
whenAnyExchangeReceived(Processor) - Method in class org.apache.camel.component.mock.MockEndpoint
Set the processor that will be invoked when the some message is received.
whenExchangeReceived(int, Processor) - Method in class org.apache.camel.component.mock.MockEndpoint
Set the processor that will be invoked when the index message is received.

X

xpath(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates an XPath expression
xpath(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates an XPath expression
xquery(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
Evaluates an XQuery expression
xquery(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
Evaluates an XQuery expression
A B C D E F G H I J L M N O P R S T W X 
Skip navigation links

Apache Camel