Can't use properties in @Indexed#expireAfter
#4672
Labels
status: duplicate
A duplicate of another issue
@Indexed#expireAfter
#4672
Hi,
I encountered an issue while trying to use a property in the
expireAfter
field of the@Indexed
annotation.Reproduction repository
I have a project with a duration property which I want to use for the TTL index, I tried the following:
and got the following stack trace:
Also tried
@Indexed(expireAfter = "#{@appProperties.duration}")
and got a missing bean exception.The text was updated successfully, but these errors were encountered: