Interface ChannelConnection
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
IncomingChannel, OutgoingChannel
Lifecycle owned by one messaging-graph binding.
Implementations are one-shot and must make forced and normal close idempotent. A closed connector cannot be restarted or reused by another binding.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this binding after its delivery work has drained.voidForce prompt shutdown without waiting for normal delivery settlement.
-
Method Details
-
forceClose
void forceClose()Force prompt shutdown without waiting for normal delivery settlement.This method must promptly unblock every in-progress lifecycle, source, or transport operation owned by this connector, including preparation, startup, readiness, admission, and polling as applicable. It may be invoked concurrently with those operations and must be idempotent.
-
close
void close()Close this binding after its delivery work has drained.- Specified by:
closein interfaceAutoCloseable
-