Skip to content

[IDEA] Allow specifying a timeout for a javascript reader/writerΒ #236

@mgaffigan

Description

@mgaffigan

Is your feature request related to a problem? Please describe.
I just found out an interface stopped polling 30+ days ago. It's unclear why, but it was stuck in "Reading", so I assume it was mid-execution of the javascript reader. Restarting the channel restarted message flow.

Describe your use case
When a javascript reader gets "hung", I want an error, not a silent failure.

Describe the solution you'd like
An option for timeout in milliseconds on the source/destination for js. When the timeout is hit, the read/write is aborted.

Describe alternatives you've considered
External monitoring can only detect message flow. On high volume channels, the "Reading" state is typical, and thus not indicative of an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions