У меня есть определение bean-компонента
@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();
}
и опросник по умолчанию, и я хочу получить JSON из URL.Это не работает.Услуга http://localhost:8055/greeting вообще не вызывается, и выводится лог-сообщение
preReceive on channel 'getSend1'
postReceive on channel 'getSend1', message is null
Received no Message during the poll, returning 'false'
.