Interface ChannelConnection

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
IncomingChannel, OutgoingChannel

public interface ChannelConnection extends AutoCloseable
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 Type
    Method
    Description
    void
    Close this binding after its delivery work has drained.
    void
    Force 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:
      close in interface AutoCloseable