Skip to content

Add support for null return values in gateway/service-activator methods [INT-2222] #6203

Closed
@spring-operator

Description

@spring-operator

Rob Gratz opened INT-2222 and commented

With the addition of the payload-expression configuration on methods (in v2.1) that do not have parameters it is now possible to have "getter" type functionality actually send a message to request some remote artifact even though there is no actual payload to send.

It would be very helpful to provide a similar configuration on gateway/service methods that return null as a valid returnable object. The current behavior is if the return value is null, no reply message is actually sent from the remote side.


Affects: 2.1 M2

Reference URL: http://forum.springsource.org/showthread.php?87697-Some-questions-about-Exception-Handling&p=385830#post385830

Issue Links:

2 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions