Skip to content

Provide support for a NULL_CHANNEL header or null-handler on endpoints [INT-1180] #5188

Closed
@spring-operator

Description

@spring-operator

Mark Fisher opened INT-1180 and commented

When using a Gateway, any downstream endpoint might simply end the flow without any reply Message. For example a POJO-invoking Service Activator might call a method whose return value is NULL. Normally that would cause a gateway to hang until it times out. Perhaps we can provide something like 'null-handler' on endpoints where a null return value is foreseeable. Or perhaps, we should add a NULL_CHANNEL header in addition to REPLY_CHANNEL and ERROR_CHANNEL. Considering we define a default "nullChannel" that acts like /dev/null, that seems like a fairly consistent solution with our approach to "errorChannel".


Affects: 2.0 M4

Issue Links:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions