Skip to content

Commit

Permalink
Specify if the condition should match if the property is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
tncyclk committed May 13, 2024
1 parent 4940736 commit eaeb46c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
import tr.org.lider.services.ConfigurationService;

@Service
@ConditionalOnProperty(prefix = "lider", name = "messaging", havingValue = "xmpp")
@ConditionalOnProperty(prefix = "lider", name = "messaging", havingValue = "xmpp", matchIfMissing = true)
public class XMPPMessagingService implements IMessagingService {

private Logger logger = LoggerFactory.getLogger(this.getClass());
Expand Down

0 comments on commit eaeb46c

Please sign in to comment.