I have the bean definition
@Bean
public IntegrationFlow inbound() {
return IntegrationFlows.from(MessageChannels.queue("getSend1"))
.handle(Http.outboundGateway("http://localhost:8055/greeting").httpMethod(HttpMethod.GET)
.expectedResponseType(String.class))
.channel(MessageChannels.queue("getReceive1"))
.get();
}
and default poller and I want to get the JSON from the URL. This is not working. The service http://localhost:8055/greeting is not called at all and the log message
preReceive on channel 'getSend1'
postReceive on channel 'getSend1', message is null
Received no Message during the poll, returning 'false'
is printed.