Table 26, “Components” lists the components available from the route editor’s palette.
Table 26. Components
| Icon | Name | Use |
|---|---|---|
| Provides access to the | |
| Binds beans to Camel message exchanges | |
| Creates log messages using the Simple language | |
| Process the message using a custom processor |
Table 27, “Message Routing” describe the routing patterns available from the route editor palette.
Table 27. Message Routing
| Icon | Name | Use |
|---|---|---|
| Aggregates many messages into a single message | |
| Routes messages based on a series of predicates. (This is one of three components that make up a content-based router.) | |
| Filters messages before passing them to a resource | |
| Lets an application integrate with Netflix Hystrix, which can provide a circuit breaker in Camel routes | |
| Filters out duplicate messages | |
| Balances message processing among a number of nodes | |
| Routes a message to a number of endpoints | |
| Route to be executed when all other choices evaluate to false. (This is one of three components that make up a content-based router.) | |
| Executes a sequence of processors in order | |
| Routes messages to a number of dynamically specified recipients | |
| Resequences messages based on an expression | |
| Contains all elements that make up an individual route in a routing context | |
| Routes a message through a series of steps that are determined at runtime | |
| Sorts the contents of the message | |
| Splits a message into pieces that can processed separately | |
| Triggers a route when an expression evaluates to true. (This is one of three components that make up a content-based router.) | |
| Routes a copy of a message to a secondary destination while passing the original message to the actual recipient |
Table 28, “Control flow” describes the control flow patterns available from the route editor palette.
Table 28. Control flow
| Icon | Name | Use |
|---|---|---|
| Catches exceptions as part of a | |
| Delays processing for a set length of time | |
| Node traversed when a | |
| Intercepts messages at each step in the message flow | |
| Intercepts incoming messages | |
| Intercepts messages sent to a specified endpoint | |
| Processes a message multiple times | |
| Route to be executed when normal route processing completes | |
| Route to be executed when an exception is thrown | |
| Forces a rollback of a transacted route by throwing RollbackExchangeException | |
| Controls the number of messages passed to the next node in a given time period | |
| Throws an exception | |
| Marks route as a transaction | |
| Marks the beginning of a |
Table 29, “Transformation” describes the transformation patterns available from the route editor palette.
Table 29. Transformation
| Icon | Name | Use Case |
|---|---|---|
| Converts the message body to a form usable by the next endpoint | |
| Enriches a message with data retrieved by a producer from a secondary resource | |
| One way exchange pattern where no response is produced (Event Message pattern) | |
| In OutMarks the exchange pattern for the route to request/reply | Exchange pattern where a response is produced |
| Marshals data into a format for transmission over a transport or component | |
| Enriches messages with data retrieved from a polling consumer | |
| Removes a named header from the message | |
| Removes message headers whose name matches a specified pattern | |
| Removes a named property from the message exchange | |
| Removes propeties from the message exchange that match a specified name pattern | |
| Sets the contents of the message body | |
| Sets the exchange pattern for the route | |
| Sets the contents of a fault message body | |
| Sets the value of a message header | |
| Sets the value of a header on the outbound message | |
| Sets a named property on the message exchange | |
| Transforms the message based on an expression | |
| Converts the message data from the wire into a bean that Apache Camel processors can consume |
Table 30, “Miscellaneous” describes the patterns on
the Miscellaneous section of the palette.
Table 30. Miscellaneous
| Icon | Name | Use |
|---|---|---|
| Does processing before and after the route is completed. (This pattern is deprecated in Apache Camel.) | |
| Defines a policy the route will use | |
| Extract a sample of the exchanges passing through a route | |
| Stops processing of the current message | |
| Specifies that all steps after this node are processed asynchronously | |
| Validates a message based on an expression |