It's implemented using a custom condition at the moment. It could use a @ConditionalOnProperty meta-annotation instead.