Spel not supported on spring annotation @Scheduled.fixedDelayString [SPR-14137] #18709
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Sidi Amine Bouhamidi opened SPR-14137 and commented
I want to configure the fixedDelay in seconds in my properties file, then I want to convert it to millis in
@Scheduled
Annotation.I expected this to work :
but it throw this exception
${my.scheduler.fixed.delay} was correctly resloved but the expression was not resloved.
I tried to configure my own StringValueResolver
But I don't find the way to inject my custom CustomValueResolver.
Am I on the right or wrong way? is there another simple way
Issue Links:
@Scheduled
) ("duplicates")The text was updated successfully, but these errors were encountered: