KamoCRM

Make NatsMessageService work with Optional JetStream injection

Fixkamo-shared-library
Shipped
4 நவம்பர், 2025 அன்று 6:40 PM UTC
Author
snadjafinia
Commit
ed44d30

- Changed JetStream injection to Optional with @Autowired(required=false) to handle bean ordering issues - Removed @ConditionalOnBean to allow service creation even if JetStream isn't ready yet - Added runtime checks in publish, publishSync, and subscribe methods - This fixes NATS message delivery not working due to bean creation timing

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing