Runtime bridge process for a single configured bridge.
Holds resolved bridge config and owns adapter listener child specs.
Summary
Functions
Returns a specification to start this module under a supervisor.
Records the latest bridge error without crashing the caller.
Records successful inbound activity for a running bridge.
Records successful outbound activity for a running bridge.
Starts a bridge runtime process for a configured bridge.
Returns a status snapshot for the bridge process.
Returns the running bridge process for bridge_id, if one is registered.
Types
@type state() :: %{ instance_module: module(), bridge_id: String.t(), config: Jido.Messaging.BridgeConfig.t(), listener_supervisor: pid() | nil, last_ingress_at: DateTime.t() | nil, last_outbound_at: DateTime.t() | nil, last_error: term() | nil }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Records the latest bridge error without crashing the caller.
Records successful inbound activity for a running bridge.
Records successful outbound activity for a running bridge.
@spec start_link(keyword()) :: GenServer.on_start()
Starts a bridge runtime process for a configured bridge.
@spec status(pid()) :: {:ok, Jido.Messaging.BridgeStatus.t()}
Returns a status snapshot for the bridge process.
Returns the running bridge process for bridge_id, if one is registered.