Currently support for Boot auto-configuration exists only for monitoring
and tracing. If spring-statemachine-boot is in a classpath,
BootStateMachineMonitor
is created automatically and associated with
a state machine. This BootStateMachineMonitor
will hook into Boot’s
CounterService
, GaugeService
and TraceRepository
if available.
Optionally this auto-configuration can be disabled by setting key
spring.statemachine.monitor.enabled
to false
. Use of this
auto-config is shown in sample Chapter 48, Monitoring.