A B C D E F G H I L O P R S T U

A

assertCollectionSize(Collection<T>, int) - Static method in class org.apache.camel.test.TestSupport
Asserts that a list is of the given size
assertCollectionSize(String, Collection<T>, int) - Static method in class org.apache.camel.test.TestSupport
Asserts that a list is of the given size
assertDirectoryEquals(String, String) - Static method in class org.apache.camel.test.TestSupport
To be used for folder/directory comparison that works across different platforms such as Window, Mac and Linux.
assertDirectoryEquals(String, String, String) - Static method in class org.apache.camel.test.TestSupport
To be used for folder/directory comparison that works across different platforms such as Window, Mac and Linux.
assertEndpointUri(Endpoint, String) - Static method in class org.apache.camel.test.TestSupport
 
assertExpression(Exchange, String, String, Object) - Method in class org.apache.camel.test.CamelTestSupport
Asserts that the given language name and expression evaluates to the given value on a specific exchange
assertExpression(Expression, Exchange, Object) - Static method in class org.apache.camel.test.TestSupport
Asserts that the given expression when evaluated returns the given answer
assertInMessageBodyEquals(Exchange, Object) - Static method in class org.apache.camel.test.TestSupport
Asserts that the given exchange has an OUT message of the given body value
assertInMessageHeader(Exchange, String, Object) - Static method in class org.apache.camel.test.TestSupport
Asserts the In message on the exchange contains the expected value
assertIsInstanceOf(Class<T>, Object) - Static method in class org.apache.camel.test.TestSupport
 
assertListSize(List<T>, int) - Static method in class org.apache.camel.test.TestSupport
Asserts that a list is of the given size
assertListSize(String, List<T>, int) - Static method in class org.apache.camel.test.TestSupport
Asserts that a list is of the given size
assertMessageHeader(Message, String, Object) - Static method in class org.apache.camel.test.TestSupport
 
assertMockEndpointsSatisfied() - Method in class org.apache.camel.test.CamelTestSupport
Asserts that all the expectations of the Mock endpoints are valid
assertOneElement(List<T>) - Static method in class org.apache.camel.test.TestSupport
 
assertOutMessageBodyEquals(Exchange, Object) - Static method in class org.apache.camel.test.TestSupport
Asserts that the given exchange has an OUT message of the given body value
assertOutMessageHeader(Exchange, String, Object) - Static method in class org.apache.camel.test.TestSupport
Asserts the Out message on the exchange contains the expected value
assertPredicate(String, String, Exchange, boolean) - Method in class org.apache.camel.test.CamelTestSupport
Asserts that the given language name and predicate expression evaluates to the expected value on the message exchange
assertPredicate(Predicate, Exchange, boolean) - Static method in class org.apache.camel.test.TestSupport
Asserts that the predicate returns the expected value on the exchange
assertPredicateDoesNotMatch(Predicate, Exchange) - Static method in class org.apache.camel.test.TestSupport
Asserts that the predicate returns the expected value on the exchange
assertPredicateMatches(Predicate, Exchange) - Static method in class org.apache.camel.test.TestSupport
Asserts that the predicate returns the expected value on the exchange
assertResolveLanguage(String) - Method in class org.apache.camel.test.CamelTestSupport
Asserts that the language name can be resolved
assertStringContains(String, String) - Static method in class org.apache.camel.test.TestSupport
Asserts that the text contains the given string
assertValidContext(CamelContext) - Method in class org.apache.camel.test.CamelTestSupport
 

B

body() - Static method in class org.apache.camel.test.TestSupport
Returns a predicate and value builder for the inbound body on an exchange
bodyAs(Class<T>) - Static method in class org.apache.camel.test.TestSupport
Returns a predicate and value builder for the inbound message body as a specific type

C

CamelTestSupport - Class in org.apache.camel.test
A useful base class which creates a CamelContext with some routes along with a ProducerTemplate for use in the test case
CamelTestSupport() - Constructor for class org.apache.camel.test.CamelTestSupport
 
context - Variable in class org.apache.camel.test.CamelTestSupport
 
createCamelContext() - Method in class org.apache.camel.test.CamelTestSupport
 
createDirectory(String) - Static method in class org.apache.camel.test.TestSupport
create the directory
createExchangeWithBody(Object) - Method in class org.apache.camel.test.CamelTestSupport
Creates an exchange with the given body
createExchangeWithBody(CamelContext, Object) - Method in class org.apache.camel.test.TestSupport
Creates an exchange with the given body
createJndiContext() - Method in class org.apache.camel.test.CamelTestSupport
 
createRegistry() - Method in class org.apache.camel.test.CamelTestSupport
 
createRouteBuilder() - Method in class org.apache.camel.test.CamelTestSupport
Factory method which derived classes can use to create a RouteBuilder to define the routes for testing
createRouteBuilders() - Method in class org.apache.camel.test.CamelTestSupport
Factory method which derived classes can use to create an array of RouteBuilders to define the routes for testing

D

deleteDirectory(String) - Static method in class org.apache.camel.test.TestSupport
Recursively delete a directory, useful to zapping test data
deleteDirectory(File) - Static method in class org.apache.camel.test.TestSupport
Recursively delete a directory, useful to zapping test data
disableJMX() - Method in class org.apache.camel.test.CamelTestSupport
Disables the JMX agent.

E

enableJMX() - Method in class org.apache.camel.test.CamelTestSupport
Enables the JMX agent.

F

faultBody() - Static method in class org.apache.camel.test.TestSupport
Returns a predicate and value builder for the fault body on an exchange
faultBodyAs(Class<T>) - Static method in class org.apache.camel.test.TestSupport
Returns a predicate and value builder for the fault message body as a specific type

G

getCamelContextService() - Method in class org.apache.camel.test.CamelTestSupport
 
getMandatoryEndpoint(String, Class<T>) - Method in class org.apache.camel.test.CamelTestSupport
 
getMandatoryEndpoint(String) - Method in class org.apache.camel.test.CamelTestSupport
 
getMockEndpoint(String) - Method in class org.apache.camel.test.CamelTestSupport
Resolves the mandatory Mock endpoint using a URI of the form mock:someName
getRouteList(RouteBuilder) - Static method in class org.apache.camel.test.TestSupport
A helper method to create a list of Route objects for a given route builder
getSingletonEndpoints(Class<T>) - Method in class org.apache.camel.test.CamelTestSupport
 

H

header(String) - Static method in class org.apache.camel.test.TestSupport
Returns a value builder for the given header

I

isUseRouteBuilder() - Method in class org.apache.camel.test.CamelTestSupport
 

L

log - Variable in class org.apache.camel.test.TestSupport
 

O

org.apache.camel.test - package org.apache.camel.test
 
outBody() - Static method in class org.apache.camel.test.TestSupport
Returns a predicate and value builder for the outbound body on an exchange
outBodyAs(Class<T>) - Static method in class org.apache.camel.test.TestSupport
Returns a predicate and value builder for the outbound message body as a specific type

P

postProcessTest() - Method in class org.apache.camel.test.CamelTestSupport
Lets post process this test instance to process any Camel annotations.
property(String) - Static method in class org.apache.camel.test.TestSupport
Returns a value builder for the given property

R

resolveMandatoryEndpoint(String) - Method in class org.apache.camel.test.CamelTestSupport
Resolves a mandatory endpoint for the given URI or an exception is thrown
resolveMandatoryEndpoint(String, Class<T>) - Method in class org.apache.camel.test.CamelTestSupport
Resolves a mandatory endpoint for the given URI and expected type or an exception is thrown
resolveMandatoryEndpoint(CamelContext, String) - Static method in class org.apache.camel.test.TestSupport
Resolves an endpoint and asserts that it is found
resolveMandatoryEndpoint(CamelContext, String, Class<T>) - Static method in class org.apache.camel.test.TestSupport
Resolves an endpoint and asserts that it is found

S

sendBodies(String, Object...) - Method in class org.apache.camel.test.CamelTestSupport
Sends messages to the given endpoint for each of the specified bodies
sendBody(String, Object) - Method in class org.apache.camel.test.CamelTestSupport
Sends a message to the given endpoint URI with the body value
sendBody(String, Object, Map<String, Object>) - Method in class org.apache.camel.test.CamelTestSupport
Sends a message to the given endpoint URI with the body value and specified headers
setCamelContextService(Service) - Method in class org.apache.camel.test.CamelTestSupport
Allows a service to be registered a separate lifecycle service to start and stop the context; such as for Spring when the ApplicationContext is started and stopped, rather than directly stopping the CamelContext
setUp() - Method in class org.apache.camel.test.CamelTestSupport
 
setUseRouteBuilder(boolean) - Method in class org.apache.camel.test.CamelTestSupport
 
startCamelContext() - Method in class org.apache.camel.test.CamelTestSupport
 
stopCamelContext() - Method in class org.apache.camel.test.CamelTestSupport
 
systemProperty(String) - Static method in class org.apache.camel.test.TestSupport
Returns a value builder for the given system property
systemProperty(String, String) - Static method in class org.apache.camel.test.TestSupport
Returns a value builder for the given system property

T

tearDown() - Method in class org.apache.camel.test.CamelTestSupport
 
template - Variable in class org.apache.camel.test.CamelTestSupport
 
TestSupport - Class in org.apache.camel.test
A bunch of useful testing methods
TestSupport() - Constructor for class org.apache.camel.test.TestSupport
 

U

unwrap(Processor) - Static method in class org.apache.camel.test.TestSupport
If a processor is wrapped with a bunch of DelegateProcessor or DelegateAsyncProcessor objects this call will drill through them and return the wrapped Processor.
unwrapChannel(Processor) - Static method in class org.apache.camel.test.TestSupport
If a processor is wrapped with a bunch of DelegateProcessor or DelegateAsyncProcessor objects this call will drill through them and return the Channel.

A B C D E F G H I L O P R S T U

Copyright © 2009 Apache Software Foundation. All Rights Reserved.