Right now, have to do this:
from(...).transform { exchange, type -> ... }.setBody { exchange, type -> ... }
Most of the time, I don't care about the type argument, I want to do something similar to this:
from(...).transform { ... }.setBody { ... }
where the implicit it is just exchange.
Right now, have to do this:
Most of the time, I don't care about the
typeargument, I want to do something similar to this:where the implicit
itis justexchange.