Skip to content
Advertisement

Is it possible to call the header value as a parameter for the method applied to the same object in simple interpreter, Spring DSL for Apache Camel?

Is it possible to call something like this in Apache Camel’s Spring DSL

JavaScript

or like this

JavaScript

For the second attempt it identifies .length() - 2 as a single method name call

Advertisement

Answer

You can increment and decrement with simple, so…

I wouldn’t recommend, but for example:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement