Skip to content

Several auto-configurations are creating JMX beans unnecessarily #43706

@philwebb

Description

@philwebb

We have a few @ConditionalOnProperty annotations that check for "spring.jmx" with matchIfMissing = true (e.g. org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration.IntegrationJmxConfiguration).

Since commit ce9626d JmxAutoConfiguration does not have matchIfMissing, so I wonder if we should align all our conditions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions