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

A

AbstractCamelTestNGSpringContextTests - Class in org.apache.camel.testng
Bridges Camel testing capabilities from CamelSpringTestSupport into Spring Test driven classes.
AbstractCamelTestNGSpringContextTests() - Constructor for class org.apache.camel.testng.AbstractCamelTestNGSpringContextTests
 
AbstractCamelTestNGSpringContextTests.TestNGCamelSpringTestContextLoader - Class in org.apache.camel.testng
 
AbstractCamelTestNGSpringContextTests.TestNGCamelSpringTestContextLoader() - Constructor for class org.apache.camel.testng.AbstractCamelTestNGSpringContextTests.TestNGCamelSpringTestContextLoader
 
applicationContext - Static variable in class org.apache.camel.testng.CamelSpringTestSupport
 
assertCollectionSize(Collection<T>, int) - Static method in class org.apache.camel.testng.TestSupport
Asserts that a list is of the given size
assertCollectionSize(String, Collection<T>, int) - Static method in class org.apache.camel.testng.TestSupport
Asserts that a list is of the given size
assertDirectoryEquals(String, String) - Static method in class org.apache.camel.testng.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.testng.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.testng.TestSupport
 
assertExpression(Exchange, String, String, Object) - Method in class org.apache.camel.testng.CamelTestSupport
Asserts that the given language name and expression evaluates to the given value on a specific exchange
assertExpression(Exchange, String, Object) - Method in class org.apache.camel.testng.LanguageTestSupport
Asserts that this language expression evaluates to the given value on the given exchange
assertExpression(String, Object) - Method in class org.apache.camel.testng.LanguageTestSupport
Asserts that this language expression evaluates to the given value on the current exchange
assertExpression(String, String, String) - Method in class org.apache.camel.testng.LanguageTestSupport
Asserts that the expression evaluates to one of the two given values
assertExpression(Expression, Exchange, Object) - Static method in class org.apache.camel.testng.TestSupport
Asserts that the given expression when evaluated returns the given answer
assertFileExists(String) - Static method in class org.apache.camel.testng.TestSupport
To be used to check is a file is found in the file system
assertFileNotExists(String) - Static method in class org.apache.camel.testng.TestSupport
To be used to check is a file is not found in the file system
assertInMessageBodyEquals(Exchange, Object) - Static method in class org.apache.camel.testng.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.testng.TestSupport
Asserts the In message on the exchange contains the expected value
assertIsInstanceOf(Class<T>, Object) - Static method in class org.apache.camel.testng.TestSupport
 
assertListSize(List<T>, int) - Static method in class org.apache.camel.testng.TestSupport
Asserts that a list is of the given size
assertListSize(String, List<T>, int) - Static method in class org.apache.camel.testng.TestSupport
Asserts that a list is of the given size
assertMessageHeader(Message, String, Object) - Static method in class org.apache.camel.testng.TestSupport
 
assertMockEndpointsSatisfied() - Method in class org.apache.camel.testng.CamelTestSupport
Asserts that all the expectations of the Mock endpoints are valid
assertMockEndpointsSatisfied(long, TimeUnit) - Method in class org.apache.camel.testng.CamelTestSupport
Asserts that all the expectations of the Mock endpoints are valid
assertOneElement(List<T>) - Static method in class org.apache.camel.testng.TestSupport
 
assertOutMessageBodyEquals(Exchange, Object) - Static method in class org.apache.camel.testng.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.testng.TestSupport
Asserts the Out message on the exchange contains the expected value
assertPredicate(String, String, Exchange, boolean) - Method in class org.apache.camel.testng.CamelTestSupport
Asserts that the given language name and predicate expression evaluates to the expected value on the message exchange
assertPredicate(String) - Method in class org.apache.camel.testng.LanguageTestSupport
Asserts that the given predicate expression evaluated on the current language and message exchange evaluates to true
assertPredicate(String, boolean) - Method in class org.apache.camel.testng.LanguageTestSupport
Asserts that the given predicate expression evaluated on the current language and message exchange evaluates to the expected value
assertPredicate(Exchange, String, boolean) - Method in class org.apache.camel.testng.LanguageTestSupport
 
assertPredicate(Predicate, Exchange, boolean) - Static method in class org.apache.camel.testng.TestSupport
Asserts that the predicate returns the expected value on the exchange
assertPredicateDoesNotMatch(Predicate, Exchange) - Static method in class org.apache.camel.testng.TestSupport
Asserts that the predicate returns the expected value on the exchange
assertPredicateFails(String) - Method in class org.apache.camel.testng.LanguageTestSupport
Asserts that the given predicate expression evaluated on the current language and message exchange evaluates to false
assertPredicateMatches(Predicate, Exchange) - Static method in class org.apache.camel.testng.TestSupport
Asserts that the predicate returns the expected value on the exchange
assertResolveLanguage(String) - Method in class org.apache.camel.testng.CamelTestSupport
Asserts that the language name can be resolved
assertStringContains(String, String) - Static method in class org.apache.camel.testng.TestSupport
Asserts that the text contains the given string
assertValidContext(CamelContext) - Method in class org.apache.camel.testng.CamelTestSupport
 
available(int) - Static method in class org.apache.camel.testng.AvailablePortFinder
Checks to see if a specific port is available.
AvailablePortFinder - Class in org.apache.camel.testng
Finds currently available server ports.

B

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

C

camelContextService - Variable in class org.apache.camel.testng.CamelTestSupport
 
camelContextService() - Method in class org.apache.camel.testng.CamelTestSupport
 
CamelSpringTestSupport - Class in org.apache.camel.testng
 
CamelSpringTestSupport() - Constructor for class org.apache.camel.testng.CamelSpringTestSupport
 
CamelTestSupport - Class in org.apache.camel.testng
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.testng.CamelTestSupport
 
consumer - Variable in class org.apache.camel.testng.CamelTestSupport
 
consumer() - Method in class org.apache.camel.testng.CamelTestSupport
 
context - Variable in class org.apache.camel.testng.CamelTestSupport
 
context() - Method in class org.apache.camel.testng.CamelTestSupport
 
createApplicationContext() - Method in class org.apache.camel.testng.CamelSpringTestSupport
 
createCamelContext() - Method in class org.apache.camel.testng.CamelSpringTestSupport
 
createCamelContext() - Method in class org.apache.camel.testng.CamelTestSupport
 
createDirectory(String) - Static method in class org.apache.camel.testng.TestSupport
create the directory
createExchange() - Method in class org.apache.camel.testng.ExchangeTestSupport
A factory method to create an Exchange implementation
createExchangeWithBody(Object) - Method in class org.apache.camel.testng.CamelTestSupport
Creates an exchange with the given body
createExchangeWithBody(CamelContext, Object) - Method in class org.apache.camel.testng.TestSupport
Creates an exchange with the given body
createJndiContext() - Method in class org.apache.camel.testng.CamelTestSupport
 
createRegistry() - Method in class org.apache.camel.testng.CamelTestSupport
 
createRouteBuilder() - Method in class org.apache.camel.testng.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.testng.CamelTestSupport
Factory method which derived classes can use to create an array of RouteBuilders to define the routes for testing

D

debugAfter(Exchange, Processor, ProcessorDefinition<?>, String, String, long) - Method in class org.apache.camel.testng.CamelTestSupport
Single step debugs and Camel invokes this method after processing the given processor
debugBefore(Exchange, Processor, ProcessorDefinition<?>, String, String) - Method in class org.apache.camel.testng.CamelTestSupport
Single step debugs and Camel invokes this method before entering the given processor
deleteDirectory(String) - Static method in class org.apache.camel.testng.TestSupport
Recursively delete a directory, useful to zapping test data
deleteDirectory(File) - Static method in class org.apache.camel.testng.TestSupport
Recursively delete a directory, useful to zapping test data
disableJMX() - Method in class org.apache.camel.testng.CamelTestSupport
Disables the JMX agent.
doPostSetup() - Method in class org.apache.camel.testng.CamelTestSupport
Strategy to perform any post setup after CamelContext is createt.
doPreSetup() - Method in class org.apache.camel.testng.CamelSpringTestSupport
 
doPreSetup() - Method in class org.apache.camel.testng.CamelTestSupport
Strategy to perform any pre setup, before CamelContext is created

E

enableJMX() - Method in class org.apache.camel.testng.CamelTestSupport
Enables the JMX agent.
exchange - Variable in class org.apache.camel.testng.ExchangeTestSupport
 
ExchangeTestSupport - Class in org.apache.camel.testng
A base class for a test which requires a CamelContext and a populated Exchange
ExchangeTestSupport() - Constructor for class org.apache.camel.testng.ExchangeTestSupport
 
excludeRoute() - Method in class org.apache.camel.testng.CamelSpringTestSupport
Template method used to exclude a Route from the test camel context
excludeRoutes() - Method in class org.apache.camel.testng.CamelSpringTestSupport
Template method used to exclude Route from the test time context route scanning

F

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

G

generateDefaultLocations(Class<?>) - Method in class org.apache.camel.testng.AbstractCamelTestNGSpringContextTests.TestNGCamelSpringTestContextLoader
Since AbstractTestNGSpringContextTests declares the test context as private and we cannot control its instantiation, we need to use ContextConfiguration on AbstractCamelTestNGSpringContextTests.
getCamelContextService() - Method in class org.apache.camel.testng.CamelTestSupport
 
getLanguageName() - Method in class org.apache.camel.testng.LanguageTestSupport
 
getMandatoryBean(Class<T>, String) - Method in class org.apache.camel.testng.CamelSpringTestSupport
Looks up the mandatory spring bean of the given name and type, failing if it is not present or the correct type
getMandatoryEndpoint(String, Class<T>) - Method in class org.apache.camel.testng.CamelTestSupport
 
getMandatoryEndpoint(String) - Method in class org.apache.camel.testng.CamelTestSupport
 
getMockEndpoint(String) - Method in class org.apache.camel.testng.CamelTestSupport
Resolves the mandatory Mock endpoint using a URI of the form mock:someName
getMockEndpoint(String, boolean) - Method in class org.apache.camel.testng.CamelTestSupport
Resolves the MockEndpoint using a URI of the form mock:someName, optionally creating it if it does not exist.
getNextAvailable() - Static method in class org.apache.camel.testng.AvailablePortFinder
Gets the next available port starting at the lowest port number.
getNextAvailable(int) - Static method in class org.apache.camel.testng.AvailablePortFinder
Gets the next available port starting at a port.
getRouteExcludingApplicationContext() - Method in class org.apache.camel.testng.CamelSpringTestSupport
Create a parent context that initializes a PackageScanClassResolver to exclude a set of given classes from being resolved.
getRouteList(RouteBuilder) - Static method in class org.apache.camel.testng.TestSupport
A helper method to create a list of Route objects for a given route builder
getShutdownTimeout() - Method in class org.apache.camel.testng.CamelTestSupport
Returns the timeout to use when shutting down (unit in seconds).
getTestMethodName() - Method in class org.apache.camel.testng.TestSupport
 

H

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

I

isCreateCamelContextPerClass() - Method in class org.apache.camel.testng.CamelTestSupport
Override to control whether CamelContext should be setup per test or per class.
isJava15() - Static method in class org.apache.camel.testng.TestSupport
Deprecated.
will be removed in the near future as Camel now requires JDK1.6+
isJavaVendor(String) - Static method in class org.apache.camel.testng.TestSupport
Is this Java by the given vendor.
isLazyLoadingTypeConverter() - Method in class org.apache.camel.testng.CamelTestSupport
Deprecated.
isMockEndpoints() - Method in class org.apache.camel.testng.CamelTestSupport
Override to enable auto mocking endpoints based on the pattern.
isMockEndpointsAndSkip() - Method in class org.apache.camel.testng.CamelTestSupport
Override to enable auto mocking endpoints based on the pattern, and skip sending to original endpoint.
isPlatform(String) - Static method in class org.apache.camel.testng.TestSupport
Is this OS the given platform.
isUseAdviceWith() - Method in class org.apache.camel.testng.CamelTestSupport
Override when using advice with and return true.
isUseDebugger() - Method in class org.apache.camel.testng.CamelTestSupport
Override to enable debugger

Is default false

isUseRouteBuilder() - Method in class org.apache.camel.testng.CamelTestSupport
Use the RouteBuilder or not

L

LanguageTestSupport - Class in org.apache.camel.testng
A useful base class for testing the language plugins in Camel
LanguageTestSupport() - Constructor for class org.apache.camel.testng.LanguageTestSupport
 
lock - Static variable in class org.apache.camel.testng.CamelSpringTestSupport
 
log - Variable in class org.apache.camel.testng.TestSupport
 
LS - Static variable in class org.apache.camel.testng.TestSupport
 

M

MAX_PORT_NUMBER - Static variable in class org.apache.camel.testng.AvailablePortFinder
The maximum server currentMinPort number for IPv4.
MIN_PORT_NUMBER - Static variable in class org.apache.camel.testng.AvailablePortFinder
The minimum server currentMinPort number for IPv4.

O

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

P

populateExchange(Exchange) - Method in class org.apache.camel.testng.ExchangeTestSupport
A strategy method to populate an exchange with some example values for use by language plugins
postProcessTest() - Method in class org.apache.camel.testng.CamelSpringTestSupport
 
postProcessTest() - Method in class org.apache.camel.testng.CamelTestSupport
Lets post process this test instance to process any Camel annotations.
property(String) - Static method in class org.apache.camel.testng.TestSupport
Returns a value builder for the given property

R

resetMocks() - Method in class org.apache.camel.testng.CamelTestSupport
Reset all Mock endpoints.
resolveMandatoryEndpoint(String) - Method in class org.apache.camel.testng.CamelTestSupport
Resolves a mandatory endpoint for the given URI or an exception is thrown
resolveMandatoryEndpoint(String, Class<T>) - Method in class org.apache.camel.testng.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.testng.TestSupport
Resolves an endpoint and asserts that it is found
resolveMandatoryEndpoint(CamelContext, String, Class<T>) - Static method in class org.apache.camel.testng.TestSupport
Resolves an endpoint and asserts that it is found

S

sendBodies(String, Object...) - Method in class org.apache.camel.testng.CamelTestSupport
Sends messages to the given endpoint for each of the specified bodies
sendBody(String, Object) - Method in class org.apache.camel.testng.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.testng.CamelTestSupport
Sends a message to the given endpoint URI with the body value and specified headers
setCamelContextService(Service) - Method in class org.apache.camel.testng.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.testng.CamelTestSupport
 
setUp() - Method in class org.apache.camel.testng.ExchangeTestSupport
 
setUseRouteBuilder(boolean) - Method in class org.apache.camel.testng.CamelTestSupport
 
startCamelContext() - Method in class org.apache.camel.testng.CamelTestSupport
 
stopCamelContext() - Method in class org.apache.camel.testng.CamelTestSupport
 
systemProperty(String) - Static method in class org.apache.camel.testng.TestSupport
Returns a value builder for the given system property
systemProperty(String, String) - Static method in class org.apache.camel.testng.TestSupport
Returns a value builder for the given system property

T

tearDown() - Method in class org.apache.camel.testng.CamelSpringTestSupport
 
tearDown() - Method in class org.apache.camel.testng.CamelTestSupport
 
tearDownAfterClass() - Static method in class org.apache.camel.testng.CamelTestSupport
 
tearSpringDownAfterClass() - Static method in class org.apache.camel.testng.CamelSpringTestSupport
 
template - Variable in class org.apache.camel.testng.CamelTestSupport
 
template() - Method in class org.apache.camel.testng.CamelTestSupport
 
TestSupport - Class in org.apache.camel.testng
A bunch of useful testing methods
TestSupport() - Constructor for class org.apache.camel.testng.TestSupport
 
threadAppContext - Static variable in class org.apache.camel.testng.CamelSpringTestSupport
 

U

unwrap(Processor) - Static method in class org.apache.camel.testng.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.testng.TestSupport
If a processor is wrapped with a bunch of DelegateProcessor or DelegateAsyncProcessor objects this call will drill through them and return the Channel.
useJmx() - Method in class org.apache.camel.testng.CamelTestSupport
Whether or not JMX should be used during testing.
A B C D E F G H I L M O P R S T U 

Apache Camel