I use spring integration 4.1.4 and spring integration dsl groovy 1.1.0
I included spring integration core, http in dependency.
When i am executing spring integration dsl groovy http sample, it throwing null value in console. I am not sure what i missed.
Here is my code looks like
IntegrationBuilder builder = new IntegrationBuilder("http");
def flow = builder.messageFlow {
transform {"http://www.google.com/finance/info?q=$it"}
httpGet(url:{"${it}"},responseType:String)
}
Object result = flow.sendAndReceive("vmw");
Can someone please help me?
This has been fixed on the master branch. Meanwhile a simple work-around is
or