Skip to content

Commit

Permalink
fix for spring boot 3.4.0 new behaviour
Browse files Browse the repository at this point in the history
Signed-off-by: Loes Immens <[email protected]>
  • Loading branch information
loesimmens committed Dec 3, 2024
1 parent e19a28d commit c7aac11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import org.springframework.context.annotation.Configuration
@Configuration
@EnableConfigurationProperties(MessageSigningProperties::class)
@ComponentScan("com.gxf.utilities.kafka.message.signing")
// Only instantiate when no other bean has been configured
@ConditionalOnMissingBean(MessageSigner::class)
class MessageSigningAutoConfiguration {
// Only instantiate when no other bean has been configured
@ConditionalOnMissingBean
@Bean
fun messageSigner(signingProperties: MessageSigningProperties): MessageSigner {
return MessageSigner(signingProperties)
Expand Down

0 comments on commit c7aac11

Please sign in to comment.