Skip to content

JPA Retrieving Outbound Gateway produced no reply when zero entities in database [INT-3333] #7303

@spring-operator

Description

@spring-operator

Médéric Martin opened INT-3333 and commented

In JpaOutboundGateway.java, an empty result is considered like no channel-reply :

if (OutboundGatewayType.RETRIEVING.equals(this.gatewayType)) {
result = this.jpaExecutor.poll(requestMessage);
}
if (result == null || !producesReply) {
return null;
}

A select request with an empty result is maybe a value expected in the channel-reply.


Affects: 4.0 M3

Reference URL: http://forum.spring.io/forum/spring-projects/integration/124469-jpa-retrieving-outbound-gateway-produced-no-reply-when-zero-entities-in-database

Referenced from: pull request #3907

2 votes, 5 watchers

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions