THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
public class Bar { public void doSomething(Exchange exchange) { // process the exchange exchange.getIn().setBody("Bye World"); } |
For example you could use POJO Consuming to write a method bean like this (showing also a feature in Camel, the @MessageDriven
annotation):
Info | ||
---|---|---|
| ||
Using the |
...