Package org.apache.camel

The core Camel API

See:
          Description

Interface Summary
CamelContext Interface used to represent the context used to configure routes and the policies to use during message exchanges between endpoints.
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 Transformer 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
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
 

Exception Summary
CamelException Base class for all Camel checked exceptions typically thrown by a Processor
ExpectedBodyTypeException Thrown if the body could not be converted to the required type
FailedToCreateProducerException  
InvalidHeaderTypeException  
NoSuchEndpointException A runtime exception thrown if a routing processor such as a RecipientList is unable to resolve an Endpoint from a URI.
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  
RuntimeExpressionException Thrown if an expression evaluation fails
RuntimeTransformException Thrown if a message transformation fails
 

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 or Producer in a POJO.
Header Marks a parameter as being a header on 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.
Property Marks a parameter as being a property on an Exchange
 

Package org.apache.camel Description

The core Camel API



Copyright © 2007 Apache Software Foundation. All Rights Reserved.