Closed artembilan closed 10 years ago
@garyrussell , review is welcome.
But if you just say "OK", I'll merge it as is and go ahead with FunctionExpression
and SubFlow
.
Thanks in advance.
Otherwise LGTM; however, I wonder how practical the DSL will be with Java 7 and below so perhaps Java 8 should be the minimum?
so perhaps Java 8 should be the minimum?
From one side there are enough request for DSL samples in Java 7 style. From other side there is an idea to have XD modules (tamplates) based on this DSL. And one more argument is Reactor, which is more Java 8, but still support Java 6. At least 1.1.x. Reactor 2.0 is Java 7 minimal. XD should pay attention to that if we are going to upgrade to Reactor 2.0.
Pushed.
Now all methods in the IntegrationFlows
are .from()
.
Note: IntegrationFlowDefinition
now has additional methods - .handleWithAdapter()
to rely on the Adapters
Lambda.
Squeshed and merged
Function
andConsumer
copies from Java 8Function
orConsumer
Channels
,MessageHandlers
,MessageProducers
,MessageSources
,MessagingGateways
1.1.7