Index
All Classes and Interfaces|All Packages
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, int, int) - Method in class org.apache.camel.component.mock.MockEndpoint
- 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)
- assertFalse(String, boolean) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Asserts that the given
predicate
isfalse
, if not anAssertionError
is raised with the give message. - 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
- AssertionClauseTask - Class in org.apache.camel.component.mock
-
An
AssertionClause
that bridges with fail fast mode (AssertionTask
). - AssertionClauseTask(MockEndpoint) - Constructor for class org.apache.camel.component.mock.AssertionClauseTask
- AssertionTask - Interface in org.apache.camel.component.mock
-
Assertion task that supports fail fast mode by running the assertion asap on the n'th received message.
- 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() - 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
- assertIsSatisfied(long, TimeUnit, 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(MockEndpoint...) - Static method in class org.apache.camel.component.mock.MockEndpoint
- 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
- assertMessagesSorted(Expression, boolean, int) - Method in class org.apache.camel.component.mock.MockEndpoint
- assertNoDuplicates(Expression) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Asserts among all the current received exchanges that there are no duplicate message
- assertOnIndex(int) - Method in interface org.apache.camel.component.mock.AssertionTask
-
Asserts on the n'th received message
- assertTrue(String, boolean) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Asserts that the given
predicate
istrue
, if not anAssertionError
is raised with the give message. - assertWait(long, TimeUnit, MockEndpoint...) - Static method in class org.apache.camel.component.mock.MockEndpoint
- 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() - 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.MockExpressionClause
-
An expression of an inbound message body converted to the expected type
- body(Class<?>) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
An 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(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(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(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
- buildUri(String, Map<String, Object>, boolean) - Method in class org.apache.camel.component.mock.MockEndpointUriFactory
C
- configure(CamelContext, Object, String, Object, boolean) - Method in class org.apache.camel.component.mock.MockComponentConfigurer
- configure(CamelContext, Object, String, Object, boolean) - Method in class org.apache.camel.component.mock.MockEndpointConfigurer
- 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
- DefaultMockSendToEndpointStrategyFactory - Class in org.apache.camel.component.mock
- DefaultMockSendToEndpointStrategyFactory() - Constructor for class org.apache.camel.component.mock.DefaultMockSendToEndpointStrategyFactory
- doAssertIsSatisfied(long) - Method in class org.apache.camel.component.mock.MockEndpoint
- doInit() - Method in class org.apache.camel.component.mock.MockComponent
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() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
An expression of the exchange
- exchange(Function<Exchange, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
-
A functional 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(Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Sets an expectation that the given body values are received by this endpoint
- expectedBodiesReceived(List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that this endpoint receives the given body values in the specified order
- expectedBodiesReceivedInAnyOrder(Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that this endpoint receives the given body values in any order
- expectedBodiesReceivedInAnyOrder(List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that this endpoint receives the given body values in any order
- 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
- expectedFileExists(Path) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that a file exists with the given name
- expectedFileExists(Path, String) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that a file exists with the given name
- expectedHeaderReceived(String, Object) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Sets an expectation that the given header name invalid input: '&' value are received by this endpoint
- expectedHeaderValuesReceivedInAnyOrder(String, Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that this endpoint receives the given header values in any order
- expectedHeaderValuesReceivedInAnyOrder(String, List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that this endpoint receives the given header values in any order.
- 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
- expectedNoHeaderReceived() - Method in class org.apache.camel.component.mock.MockEndpoint
-
Sets an expectation that the messages received by this endpoint have no header
- expectedPropertyReceived(String, Object) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Sets an expectation that the given property name invalid input: '&' value are received by this endpoint
- expectedPropertyValuesReceivedInAnyOrder(String, Object...) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that this endpoint receives the given property values in any order
- expectedPropertyValuesReceivedInAnyOrder(String, List<?>) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an expectation that this endpoint receives the given property values in any order.
- expects(Runnable) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds the expectation which will be invoked when enough messages are received
- 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
- 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
- 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
- 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
- expectsMessageCount(int, MockEndpoint...) - Static method in class org.apache.camel.component.mock.MockEndpoint
- 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
- 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
- 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
- getAssertPeriod() - Method in class org.apache.camel.component.mock.MockEndpoint
- getAutowiredNames() - Method in class org.apache.camel.component.mock.MockComponentConfigurer
- getComponent() - Method in class org.apache.camel.component.mock.MockEndpoint
- getExchangeFormatter() - Method in class org.apache.camel.component.mock.MockComponent
- 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
- getOptionType(String, boolean) - Method in class org.apache.camel.component.mock.MockComponentConfigurer
- getOptionType(String, boolean) - Method in class org.apache.camel.component.mock.MockEndpointConfigurer
- getOptionValue(Object, String, boolean) - Method in class org.apache.camel.component.mock.MockComponentConfigurer
- getOptionValue(Object, String, boolean) - Method in class org.apache.camel.component.mock.MockEndpointConfigurer
- 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
- getReportGroup() - Method in class org.apache.camel.component.mock.MockEndpoint
- getResultMinimumWaitTime() - Method in class org.apache.camel.component.mock.MockEndpoint
- getResultWaitTime() - Method in class org.apache.camel.component.mock.MockEndpoint
- getRetainFirst() - Method in class org.apache.camel.component.mock.MockEndpoint
- getRetainLast() - 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
-
Evaluates an HL7 Terser expression
I
- in(Object...) - Method in class org.apache.camel.component.mock.MockValueBuilder
- in(Predicate...) - Method in class org.apache.camel.component.mock.MockValueBuilder
- init(CamelContext) - Method in class org.apache.camel.component.mock.MockExpressionClause
- init(CamelContext) - 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() - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
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
- InterceptSendToMockEndpointStrategy - Class in org.apache.camel.component.mock
-
A
EndpointStrategy
which is capable of mocking endpoints. - InterceptSendToMockEndpointStrategy() - Constructor for class org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy
-
Mock all endpoints.
- InterceptSendToMockEndpointStrategy(String) - Constructor for class org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy
-
Mock endpoints based on the given pattern.
- InterceptSendToMockEndpointStrategy(String, boolean) - Constructor for class org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy
-
Mock endpoints based on the given pattern.
- isCopyOnExchange() - Method in class org.apache.camel.component.mock.MockEndpoint
- isEnabled(String) - Method in class org.apache.camel.component.mock.MockEndpointUriFactory
- isEqualTo(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
- isEqualToIgnoreCase(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
- isFailFast() - Method in class org.apache.camel.component.mock.MockEndpoint
- 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
- isLenientProperties() - Method in class org.apache.camel.component.mock.MockEndpointUriFactory
- isLessThan(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
- isLessThanOrEqualTo(Object) - Method in class org.apache.camel.component.mock.MockValueBuilder
- isLog() - Method in class org.apache.camel.component.mock.MockComponent
- isLog() - Method in class org.apache.camel.component.mock.MockEndpoint
- 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
J
- jsonpath(String) - Method in class org.apache.camel.component.mock.MockExpressionClause
-
Evaluates a Json Path expression
- jsonpath(String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
Evaluates a Json Path expression
L
- language(String, String) - Method in class org.apache.camel.component.mock.MockExpressionClause
-
Evaluates a given language name with the expression text
- language(String, String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
Evaluates a given language name with the expression text
- language(ExpressionFactory) - Method in class org.apache.camel.component.mock.AssertionClause
- language(ExpressionFactory) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
Specify an
ExpressionFactory
instance
M
- matches() - Method in class org.apache.camel.component.mock.MockValueBuilder
- matches(Exchange) - Method in class org.apache.camel.component.mock.MockExpressionClause
- matches(Exchange) - 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
- matches(Expression) - Method in class org.apache.camel.component.mock.MockValueBuilder
- matchesReturningFailureMessage(Exchange) - Method in class org.apache.camel.component.mock.TimeClause
- matchPattern(String, Endpoint, String) - Method in class org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy
-
Does the pattern match the endpoint?
- message() - Method in class org.apache.camel.component.mock.MockExpressionClause
-
An expression of an inbound message
- message(int) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Adds an assertion to the given message index
- 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) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
Evaluates an expression using the invalid input: '<'a href="http://camel.apache.org/bean-language.html>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, String) - Method in class org.apache.camel.component.mock.MockExpressionClauseSupport
-
Evaluates an expression using the invalid input: '<'a href="http://camel.apache.org/bean-language.html>bean language which basically means the bean is invoked to determine the expression value.
- 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
- mock(String, boolean) - Method in class org.apache.camel.component.mock.DefaultMockSendToEndpointStrategyFactory
- 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
- MockComponentConfigurer - Class in org.apache.camel.component.mock
-
Generated by camel build tools - do NOT edit this file!
- MockComponentConfigurer() - Constructor for class org.apache.camel.component.mock.MockComponentConfigurer
- MockEndpoint - Class in org.apache.camel.component.mock
-
Test 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
- MockEndpointConfigurer - Class in org.apache.camel.component.mock
-
Generated by camel build tools - do NOT edit this file!
- MockEndpointConfigurer() - Constructor for class org.apache.camel.component.mock.MockEndpointConfigurer
- MockEndpointUriFactory - Class in org.apache.camel.component.mock
-
Generated by camel build tools - do NOT edit this file!
- MockEndpointUriFactory() - Constructor for class org.apache.camel.component.mock.MockEndpointUriFactory
- 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
- 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
- multiValuePrefixes() - Method in class org.apache.camel.component.mock.MockEndpointUriFactory
- 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() - Method in class org.apache.camel.component.mock.MockValueBuilder
-
Negates the built expression.
- not(Predicate) - Method in class org.apache.camel.component.mock.MockValueBuilder
- notifyBuilderMatches() - Method in class org.apache.camel.component.mock.MockEndpoint
- notifyBuilderOnExchange(Exchange) - Method in class org.apache.camel.component.mock.MockEndpoint
- notifyBuilderReset() - Method in class org.apache.camel.component.mock.MockEndpoint
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
- onInterceptEndpoint(String, Endpoint, Endpoint, Producer) - Method in class org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy
-
Callback when an endpoint was intercepted with the given mock endpoint
- 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(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(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(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(Function<Object, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
-
A functional expression of an outbound message body
- outMessage(Function<Message, Object>) - Method in class org.apache.camel.component.mock.MockExpressionClause
-
A functional expression of an outbound message
P
- performAssertions(Exchange, Exchange) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Performs the assertions on the incoming exchange.
- predicate() - Method in class org.apache.camel.component.mock.AssertionClause
-
Adds the given predicate to this assertion clause
- predicate(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
- propertyNames() - Method in class org.apache.camel.component.mock.MockEndpointUriFactory
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 existingExpression
from theRegistry
- 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
- registerEndpoint(String, Endpoint) - Method in class org.apache.camel.component.mock.InterceptSendToMockEndpointStrategy
- 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
- secretPropertyNames() - Method in class org.apache.camel.component.mock.MockEndpointUriFactory
- 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.
- 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. - 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. - setExchangeFormatter(ExchangeFormatter) - Method in class org.apache.camel.component.mock.MockComponent
-
Sets a custom
ExchangeFormatter
to convert the Exchange to a String suitable for logging. - 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
- setFailFast(boolean) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Sets whether
MockEndpoint.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. - setLog(boolean) - Method in class org.apache.camel.component.mock.MockComponent
-
To turn on logging when the mock receives an incoming message.
- setLog(boolean) - Method in class org.apache.camel.component.mock.MockEndpoint
-
To turn on logging when the mock receives an incoming message.
- 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 nth number of received
Exchange
s. - setRetainLast(int) - Method in class org.apache.camel.component.mock.MockEndpoint
-
Specifies to only retain the last nth number of received
Exchange
s. - 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.InterceptSendToMockEndpointStrategy
- 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
All Classes and Interfaces|All Packages