Skip to content

Commit

Permalink
OccurrentAnnotationBeanPostProcessor is only applied if "occurrent.su…
Browse files Browse the repository at this point in the history
…bscription.enabled" property is missing or is "true"
  • Loading branch information
johanhaleby committed Sep 9, 2024
1 parent 5cb69aa commit 0a664c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Changelog next version
* `OccurrentAnnotationBeanPostProcessor` is only applied if `occurrent.subscription.enabled` property is missing or is `true`

### 0.19.1 (2024-07-04)
* Ignoring NoSuchBeanDefinitionException when getting the springApplicationAdminRegistrar bean when working around https://github.com/spring-projects/spring-framework/issues/32904

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
public class OccurrentMongoAutoConfiguration<E> {

@Bean
@ConditionalOnProperty(name = "occurrent.subscription.enabled", havingValue = "true", matchIfMissing = true)
static OccurrentAnnotationBeanPostProcessor occurrentAnnotationBeanPostProcessor() {
return new OccurrentAnnotationBeanPostProcessor();
}
Expand Down

0 comments on commit 0a664c6

Please sign in to comment.