Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artem Bilan opened INT-4070 and commented
Looks like after the change dc86d88#diff-62dc05a878e8d43158ee7f80f233a38dL174 we lost the ability to have messaging gateway this way:
@Gateway(replyChannel = "fromKafka", replyTimeout = 10000) Message<?> receiveFromKafka();
That's because the code in the MessagingGatewaySupport like:
MessagingGatewaySupport
protected Object receive() { ... return this.messagingTemplate.receiveAndConvert(replyChannel, null); }
returns exactly payload, but not Message<?> as GatewayProxyFactoryBean expect:
payload
Message<?>
GatewayProxyFactoryBean
if (shouldReturnMessage) { return gateway.receive(); }
Affects: 4.0.8, 3.0.8, 4.1.8, 4.3 GA, 4.2.8
Reference URL: spring-projects/spring-integration-samples#171
Issue Links:
Referenced from: pull request #1849
The text was updated successfully, but these errors were encountered:
artembilan
No branches or pull requests
Artem Bilan opened INT-4070 and commented
Looks like after the change dc86d88#diff-62dc05a878e8d43158ee7f80f233a38dL174
we lost the ability to have messaging gateway this way:
That's because the code in the
MessagingGatewaySupport
like:returns exactly
payload
, but notMessage<?>
asGatewayProxyFactoryBean
expect:Affects: 4.0.8, 3.0.8, 4.1.8, 4.3 GA, 4.2.8
Reference URL: spring-projects/spring-integration-samples#171
Issue Links:
Referenced from: pull request #1849
The text was updated successfully, but these errors were encountered: