Hi,
Does Spring DSL support Groovy in the processor construct? With Java DSL, I
can do this:
from("direct:test")
.process { Exchange exchange -> println (exchange.in.body) }
.process { println (it.in.body) }
What about Spring DSL?
I was hoping something like this would work:
<process>
<groovy>Exchange exchange -> println (exchange.in.body)
</groovy><process>
Thoughts?
Max
Does Spring DSL support Groovy in the processor construct? With Java DSL, I
can do this:
from("direct:test")
.process { Exchange exchange -> println (exchange.in.body) }
.process { println (it.in.body) }
What about Spring DSL?
I was hoping something like this would work:
<process>
<groovy>Exchange exchange -> println (exchange.in.body)
</groovy><process>
Thoughts?
Max