Skip to content

Combining @Retryable and @Scheduled cause scheduled execution problems #94

@selimok

Description

@selimok

Hi,

if I use @retryable annotation for a method of a certain bean and @scheduled for another method of the same bean, ScheduledAnnotationBeanPostProcessor doesn't process this class and thus @scheduled method is not executed. This is a very strange problem.

If I remove the @retryable annotation, ScheduledAnnotationBeanPostProcessor process the bean with processScheduled() method and the scheduled task is executed without any problem.

I don't really understand which part of the framework (scheduling or retry) is responsible for this problem.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions