THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
from("spark-rest:get:/hello/*/to/*") .transform().simple("Bye big ${header.splat[1]} from ${header.splat[0]}"); |
Rest DSL
Apache Camel provides a new Rest DSL that allow to define the REST services in a nice REST style. For example we can define a REST hello service in Java DSL as shown below:
Tabs Container | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
...
|
See more details at the Rest DSL.
...