KamoCRM

Allow app startup when NATS is unavailable

Fixkamo-shared-library
Shipped
March 10, 2026 at 10:14 PM UTC
Author
Kamo
Commit
10cd6b5

Remove @ConditionalOnBean from jetStream() and add @Nullable to the Connection parameter. When natsConnection() returns null (NATS unreachable), Spring no longer crashes with UnsatisfiedDependencyException.

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