Table 1, “Apache Camel Endpoints” summarizes the Apache Camel endpoints available when using Red Hat Fuse IDE.
Table 1. Apache Camel Endpoints
| Component | Endpoint URI | Description |
|---|---|---|
| ActiveMQ |
activemq:[queue:|topic:]
| Connects to JMS destinations using Apache ActiveMQ. |
| ActiveMQ Journal |
activemq.journal:
| Uses ActiveMQ's fast disk journaling implementation to store message bodies in a rolling log file. |
| AMQP |
amqp:[queue:|topic:]
| Connects to messaging systems using the AMQP protocol. |
| Atom |
atom://
| Connects to or publishes Atom feeds using Apache Abdera. |
| Bean |
bean:
| Uses the Bean Binding to bind message exchanges to beans in the Registry. Can also be used for exposing and invoking POJOs. |
| Bean Validation |
bean-validator:
| Validates the payload of a message using the Java Validation API (JSR 303 and JAXP Validation) and its reference implementation Hibernate Validator. |
| Browse |
browse:
Name
| Provides a simple BrowsableEndpoint which can be useful for
testing, visualisation tools or debugging. The exchanges sent to the
endpoint are all available to be browsed. |
| Cache |
cache://
| Enables you to perform caching operations using EHCache as the cache implementation. |
| Class |
class:
| Uses the Bean Binding to bind message exchanges to beans in the Registry. Is also used for exposing and invoking POJOs. |
| Cometd |
cometd://
| Supports the Jetty implementation of the cometd/bayeux protocol. |
| Crypto |
| Signs and verifies exchanges using the Signature Service of the Java Cryptographic Extension. |
| CXF |
cxf://
| Uses Apache CXF for Web services integration. |
| CXF Bean |
cxf:
| Proceess the exchange using a JAX-WS or JAX-RS annotated bean from the registry. |
| CXFRS |
cxfrs:bean:
| Uses Apache CXF to connect to JAX-RS services hosted in Apache CXF. |
| DataSet |
dataset:
| Provides a way to create large numbers of messages for sending to components or asserting that they are consumed correctly. |
| Db4o |
db4o://
| For using a db4o datastore as a queue via the db4o library. |
| Direct |
direct:
| Ensures direct invocation of the consumer from the producer so that single threaded in-VM invocation is performed. |
| Esper |
esper:name
| Supports using the Esper Library for Event Stream Processing. |
| Event |
| Works with Spring ApplicationEvents. |
| Exec |
exec://
| Executes system commands. |
| File |
file://
| Sends messages to a file or polls a file or directory. |
| Flatpack |
flatpack:[fixed|delim]:
| Processes fixed width or delimited files or messages using the FlatPack library. |
| Freemarker |
freemarker:
| Generates a response using a Freemarker template. |
| FTP2 |
ftp://[
| Sends and receives files over FTP. |
| GAuth |
gauth://
| Implements a Google-specific OAuth consumer for Web applications. |
| GHTTP |
| Provides connectivity to the GAE URL fetch service and can also be used to receive messages from servlets. |
| GLogin |
glogin://
| Allows Apache Camel applications outside Google App Engine (GAE) to programmatically login to GAE applications. |
| GMail |
| Sends e-mails via the GAE mail service. |
| GTask |
gtask://
| Supports asynchronous message processing on GAE using the task queueing service as a message queue. |
| HDFS |
hdfs://
| Reads from and writes to HDFS file systems. |
| Hibernate |
hibernate://
| Uses a database as a queue via the Hibernate library. |
| HTTP |
http://
| Calls out to external HTTP servers. |
| HTTP4 |
http4://
| Calls out to external HTTP servers using the Apache HttpClient 4.x. |
| iBATIS |
ibatis:
| Performs a query, poll, insert, update or delete in a relational database using Apache iBATIS. |
| IMap |
imap://[
| Receives e-mail using IMAP. |
| IRC |
irc:
| Uses IRC communication. |
| JavaSpace |
javaspace:jini://
| Sends and receives messages through JavaSpace. |
| JBI |
| Integrates with JBI endpoints. |
| JCR |
jcr://
| Stores messages in a JCR (JSR-170) compliant repository like Apache Jackrabbit. |
| JDBC |
jdbc:
| Performs JDBC queries and operations. |
| Jetty |
jetty:http://
| Exposes services over HTTP. |
| Jing |
| Validates the payload of a message using RelaxNG or RelaxNG compact syntax. |
| JMS |
jms:[temp:][queue:|topic:]
| Connects to generic JMS providers. |
| JPA |
jpa:[
| Uses a database as a queue via the JPA specification for working with OpenJPA, Hibernate or TopLink. |
| JT400 |
jt400://
| Integrates with data queues on an AS/400 (aka System i, IBM i, i5, ...) system. |
| Language |
language://
| Executes Languages scripts. |
| LDAP |
ldap:
| Performs searches on LDAP servers. |
| List |
list:
| Provides a simple BrowsableEndpoint which can be useful for
testing, visualisation tools or debugging. The exchanges sent to the
endpoint are all available to be browsed. |
| Log |
log:
| Uses Jakarta Commons Logging to log the message exchange to some underlying logging system like log4j. |
| Lucene |
| Uses Apache Lucene to perform Java-based indexing and full text based searches using advanced analysis/tokenization capabilities. |
| MINA |
| Works with Apache MINA. |
| Mock |
mock:
| Creates mock endpoints for testing routes and mediation rules. |
| MSMQ |
msmq:
| Sends and receives messages with Microsoft Message Queuing. |
| MSV |
msv:
| Validates the payload of a message using the MSV Library. |
| Nagios |
nagios://
| Sends passive checks to Nagios using JSendNSCA. |
| Netty |
| Works with TCP and UDP protocols using Java NIO based capabilities offered by the JBoss Netty community project. |
| NMR |
nmr:
| Supports OSGi integration when working with Red Hat JBoss Fuse. Enables you to specify the URI of a ServiceMix endpoint. |
| POP |
pop3://[
| Receives e-mail using POP3 and JavaMail. |
| Printer |
| Directs payloads on a route to a printer. |
| Properties |
properties://
| Facilitates using property placeholders directly in endpoint URI definitions. |
| Quartz |
| Provides for scheduled delivery of messages using the Quartz scheduler. |
| Quickfix |
| Sends and receives FIX messages. |
| Ref |
ref:
| Looks up existing endpoints bound in the Registry. |
| Restlet |
restlet:
| Consumes and produces RESTful resources using Restlet. |
| RMI |
rmi://
| Works with RMI. |
| RSS |
rss:
| Consumes RSS feeds using ROME. |
| RNC |
rnc:
| Validates the payload of a message using RelaxNG Compact Syntax. |
| RNG |
rng:
| Validates the payload of a message using RelaxNG. |
| Scalate |
scalate:
| Transforms message using Scalate templates. |
| SEDA |
seda:
| Delivers messages to a
java.util.concurrent.BlockingQueue. This
is useful when creating SEDA style processing pipelines within the same
CamelContext. |
| SERVLET |
servlet://
| Provides HTTP based endpoints for consuming HTTP requests that arrive at a HTTP endpoint and this endpoint is bound to a published Servlet. |
| SFTP |
sftp://[
| Sends and receives files over SFTP. |
| SIP |
smpp://
| Sends and receives SMS through Short Messaging Service Center using the JSMPP library. |
| SMPP |
| Publish/Subscribe communication capability using the Telecom SIP protocol. |
| SMTP |
smtp://[
| Sends e-mail using SMTP and JavaMail. |
| SNMP |
snmp://
| Polls SNMP capable devices or receive traps. |
| Spring Integration |
spring-integration:
| Bridges Camel and Spring Integration. |
| Spring Web Services |
spring-ws:[
| Client-side support for accessing web services, and server-side support for creating your own contract-first web services using Spring Web Services. |
| SQL |
sql:
| Performs SQL queries using JDBC. |
| Stream |
stream:[in|out|err|header][?
| Reads or writes to an input/output/error/file stream. |
| String Template |
string-template:
| Generates a response using a String Template. |
| Test |
test:
| Creates a Mock endpoint which expects to receive all the message bodies that could be polled from the given underlying endpoint. |
| Timer |
timer:
| Creates a timer endpoint. |
| Validation |
validator:
| Validates the payload of a message using XML Schema and JAXP Validation. |
| Velocity |
velocity:
| Generates a response using an Apache Velocity template. |
| VM |
vm:
| Deliver messages to a
java.util.concurrent.BlockingQueue,
useful when creating SEDA style processing pipelines within the same
JVM. |
| XMPP |
xmpp:
| Works with XMPP and Jabber. |
| XQuery |
xquery:
| Generates a response using an XQuery template. |
| XSLT |
xslt:
| Transforms a message using an XSLT script. |