Skip to content

Commit

Permalink
Merge pull request #38 from OSGP/fix-for-spring-boot-3.4.0
Browse files Browse the repository at this point in the history
fix for spring boot 3.4.0 new behaviour
  • Loading branch information
loesimmens authored Dec 12, 2024
2 parents 3bda421 + c7aac11 commit a80ae58
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 a80ae58

Please sign in to comment.