public final class MoleculerRunner
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.concurrent.atomic.AtomicReference<org.springframework.context.ConfigurableApplicationContext> |
context |
| Constructor and Description |
|---|
MoleculerRunner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Starts/stops Moleculer as a standalone application or as a Windows
service.
|
protected static final java.util.concurrent.atomic.AtomicReference<org.springframework.context.ConfigurableApplicationContext> context
public static final void main(java.lang.String[] args)
throws java.lang.Exception
args - configuration path or "STOP" to stop service, UDP port, and a
"secret message" to stop Moleculer servicejava.lang.Exception - fatal exception (unable to find JARs, invalid Java version,
etc.)