Package org.apache.camel

The core Camel API

See:
          Description

Interface Summary
AsyncCallback The callback interface for an AsyncProcessor so that it can notify you when an Exchange has completed.
AsyncProcessor A more complex version of Processor which supports asynchronous processing of the Exchange.
CamelContext Interface used to represent the context used to configure routes and the policies to use during message exchanges between endpoints.
CamelContextAware An interface to represent an object which wishes to be injected with a CamelContext such as when working with Spring or Guice
Component<E extends Exchange> A component is a factory of Endpoint objects.
Consumer<E extends Exchange> A consumer of message exchanges from an Endpoint
Endpoint<E extends Exchange> An endpoint implements the Message Endpoint pattern and represents an endpoint that can send and receive message exchanges
Exchange The base message exchange interface providing access to the request, response and fault Message instances.
Expression<E extends Exchange> An expression provides a plugin strategy for evaluating expressions on a message exchange to support things like scripting languages, XQuery or SQL as well as any arbitrary Java expression.
Message Implements the Message pattern and represents an inbound or outbound message as part of an Exchange
PollingConsumer<E extends Exchange> Represents a Polling Consumer where the caller polls for messages when it is ready.
Predicate<E> Evaluates a binary predicate on the message exchange to support things like scripting languages, XQuery or SQL as well as any arbitrary Java expression.
Processor A processor is used to implement the Event Driven Consumer and Message Translater patterns and to process message exchanges.
Producer<E extends Exchange> Provides a channel on which clients can create and invoke message exchanges on an Endpoint
ProducerTemplate<E extends Exchange>  
Service Represents the core lifecycle API for POJOs which can be started and stopped
TypeConverter A pluggable strategy to be able to convert objects to different types such as to and from String, InputStream/OutputStream, Reader/Writer, Document, byte[], ByteBuffer etc
 

Class Summary
CamelTemplate<E extends Exchange> A client helper object (named like Spring's TransactionTemplate & JmsTemplate et al) for working with Camel and sending Message instances in an Exchange to an Endpoint.
Route<E extends Exchange> A Route defines the processing used on an inbound message exchange from a specific Endpoint within a CamelContext
 

Enum Summary
ExchangePattern Represents the kind of message exchange pattern
 

Exception Summary
AlreadyStoppedException  
CamelException Base class for all Camel checked exceptions typically thrown by a Processor
CamelExchangeException An exception caused by a specific message Exchange
ExchangeTimedOutException An exception thrown if an InOut exchange times out receiving the OUT message
ExpectedBodyTypeException Thrown if the body could not be converted to the required type
FailedToCreateProducerException  
InvalidHeaderTypeException  
InvalidPayloadException  
InvalidPayloadRuntimeException  
InvalidTypeException  
NoSuchBeanException A runtime exception if a given bean could not be found in the Registry
NoSuchEndpointException A runtime exception thrown if a routing processor such as a RecipientList is unable to resolve an Endpoint from a URI.
NoSuchHeaderException An exception caused when a mandatory header is not available on a message Exchange
NoSuchLanguageException A runtime exception thrown if an attempt is made to resolve an unknown language definition.
NoSuchPropertyException An exception caused when a mandatory property is not available on a message Exchange
NoTypeConversionAvailableException An exception thrown if a value could not be converted to the required type
ResolveEndpointFailedException A runtime exception thrown if an Endpoint can not be resolved via URI
RuntimeCamelException  
RuntimeExchangeException A runtime exception caused by a specific message Exchange
RuntimeExpressionException Thrown if an expression evaluation fails
RuntimeTransformException Thrown if a message transformation fails
ValidationException The base class for any validation exception, such as SchemaValidationException so that it is easy to treat all validation errors in a similar way irrespective of the particular validation technology used.
 

Annotation Types Summary
Body Marks a parameter as being the body of an inbound Message
Converter An annotation used to mark classes and methods to indicate code capable of converting from a type to another type which are then auto-discovered using the Type Conversion Support
EndpointInject Used to indicate an injection point of an Endpoint, Producer, ProducerTemplate or CamelTemplate into a POJO.
Header Marks a parameter as being a header on an inbound Message
Headers Marks a parameter as being an injection point of the headers of an inbound Message
MessageDriven Used to indicate a method on a POJO which is used as a Consumer of Exchange instances to process Message instances.
OutHeaders Marks a parameter as being an injection point of the headers of an outbound Message
Properties Marks a parameter as being an injection point of the properties of an Exchange
Property Marks a parameter as being an injection point of a property of an Exchange
 

Package org.apache.camel Description

The core Camel API



Copyright © 2008 IONA Open Source Community. All Rights Reserved.