Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
import static org.apache.camel.builder.sql.SqlBuilder.*;
...
from("queue:foo").setBody(sql("select * from MyType")).to("queue:bar")

Syntax

Expression

Type

Description

exchange

Exchange

the Exchange object

in

Message

the exchange.in message

out

Message

the exchange.out message

the property key

Object

the Exchange properties

the header key

Object

the exchange.in headers

the variable key

Object

if any additional variables is added using setVariables method

Dependencies