Skip to content

expose the "requires-reply" attribute for service-activator elements [INT-1384] #5381

Closed

Description

@spring-operator

Mark Fisher opened INT-1384 and commented

The ServiceActivator has a "requiresReply" property, and it is FALSE by default - meaning that NULL return values are acceptable.

When used downstream from a Gateway, this means that the gateway method might hang until its timeout.

If this new attribute's value is set to TRUE, then an Exception will be thrown when a null value is returned from the service method (or expression).

This is similar to the "throw-exception-on-rejection" flag for Filter elements or the "resolution-required" on Router elements.


Issue Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions