Class EsbRuntimeService
java.lang.Object
com.kingsrook.qqq.esb.runtime.EsbRuntimeService
- All Implemented Interfaces:
QRuntimeServiceInterface
The runtime service (QInstance.withRuntimeService) through which an
application launcher starts the node's ESB trigger runtime
(QEsbRuntime.getInstance) with its server, and stops it at shutdown.
EsbInstanceMetaData.enrich registers it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRelease provider resources after all application stop attempts, preserving publishing leases while scheduler/HTTP work drains after consumer stop.getName()Name of the service, for logs and errors.voidStart the node's runtime (doesn't block).voidstop()Stop consumers while application-owned producers can still be draining.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
EsbRuntimeService
public EsbRuntimeService()
-
-
Method Details
-
getName
Description copied from interface:QRuntimeServiceInterfaceName of the service, for logs and errors.- Specified by:
getNamein interfaceQRuntimeServiceInterface
-
start
Start the node's runtime (doesn't block).- Specified by:
startin interfaceQRuntimeServiceInterface- Throws:
QException
-
stop
public void stop()Stop consumers while application-owned producers can still be draining. Provider resources remain usable until final application cleanup.- Specified by:
stopin interfaceQRuntimeServiceInterface
-
afterApplicationStop
public void afterApplicationStop()Release provider resources after all application stop attempts, preserving publishing leases while scheduler/HTTP work drains after consumer stop.- Specified by:
afterApplicationStopin interfaceQRuntimeServiceInterface
-