...
Or you could use any other of Camel Languages.
Info |
---|
Notice that the Recipient List can send to multiple Endpoints if the expression returns either a For example, to turn it, when using Camel 2.13 onwards: .recipientList(simple("sql:select firstName, lastName from myTable where user = ${header.user}"), "false") And for users of Camel 2.12.x or older, we use a non existing delimiter char: .recipientList(simple("sql:select firstName, lastName from myTable where user = ${header.user}"), "@") |