Skip to content

RedisQueueMessageDrivenEndpoint stuck in waiting thread state #2500

Closed
@fred84

Description

@fred84

Preconditions

  • RedisQueueMessageDrivenEndpoint
  • DirectChannel as output
  • SimpleAsyncTaskExecutor with low concurrency level as executor (e.g. 1)

Scenario

  • submit invalid message to queue

Current behavior

  • exception will be not propagated to error handler
  • new messages will be not consumed from queue

Example

https://github.com/fred84/integration_redis_stuck_thread

Proposal

  • clarify in documentation that using SimpleAsyncTaskExecutor with low concurrency level is bad idea. Especially with concurrency == 1
  • emit warning when RedisQueueMessageDrivenEndpoint configured with SimpleAsyncTaskExecutor and low concurrency level

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions