Record Class OutboxProfile
java.lang.Object
java.lang.Record
org.j7m.middleware.application.distributed.OutboxProfile
- Record Components:
namespace- annotation-selected logical outbox name authorized by this host profiletenant- stable authorized tenantpublisherId- stable logical producer contract ID, independent of bundle deploymentpublisherVersion- positive logical producer versionjdbcPolicy- exact participating A11 profile namejdbcRegistration- exact borrowed registration installed in the JDBC policycodec- trusted side-effect-free data codec with explicit schema allowlistintents- borrowed D12 first-writer frame/trace retention backendintentRetention- finite intent retention1ms..1day; EXPIRED never silently reexecutespayloadRetention- earliest sent-payload prune time, 1ms..365daystelemetry- optional borrowed telemetry integration
public record OutboxProfile(String namespace, String tenant, String publisherId, int publisherVersion, String jdbcPolicy, ManagedJdbcTransactionPolicy.Registration jdbcRegistration, ManagedPayloadCodec codec, org.j7m.middleware.distributed.DeduplicatedRpc intents, Duration intentRetention, Duration payloadRetention, org.j7m.middleware.integrations.Observability telemetry)
extends Record
One host-owned logical SQL outbox and exact A11 connection capability. SQL scope includes tenant
and logical publisher identity/version, so sharing physical tables cannot suppress another domain.
Retained identity/order tombstones are not evicted; payload pruning is separate from delivery.
-
Constructor Summary
ConstructorsConstructorDescriptionOutboxProfile(String namespace, String tenant, String publisherId, int publisherVersion, String jdbcPolicy, ManagedJdbcTransactionPolicy.Registration jdbcRegistration, ManagedPayloadCodec codec, org.j7m.middleware.distributed.DeduplicatedRpc intents, Duration intentRetention, Duration payloadRetention, org.j7m.middleware.integrations.Observability telemetry) Validates bounds without opening a connection or modifying schema. -
Method Summary
Modifier and TypeMethodDescriptioncodec()Returns the value of thecodecrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theintentRetentionrecord component.org.j7m.middleware.distributed.DeduplicatedRpcintents()Returns the value of theintentsrecord component.Returns the value of thejdbcPolicyrecord component.Returns the value of thejdbcRegistrationrecord component.Returns the value of thenamespacerecord component.Returns the value of thepayloadRetentionrecord component.Returns the value of thepublisherIdrecord component.intReturns the value of thepublisherVersionrecord component.org.j7m.middleware.integrations.ObservabilityReturns the value of thetelemetryrecord component.tenant()Returns the value of thetenantrecord component.toString()Omits endpoint, tenant and factory details from diagnostics.
-
Constructor Details
-
OutboxProfile
public OutboxProfile(String namespace, String tenant, String publisherId, int publisherVersion, String jdbcPolicy, ManagedJdbcTransactionPolicy.Registration jdbcRegistration, ManagedPayloadCodec codec, org.j7m.middleware.distributed.DeduplicatedRpc intents, Duration intentRetention, Duration payloadRetention, org.j7m.middleware.integrations.Observability telemetry) Validates bounds without opening a connection or modifying schema.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
namespace
-
tenant
-
publisherId
Returns the value of thepublisherIdrecord component.- Returns:
- the value of the
publisherIdrecord component
-
publisherVersion
public int publisherVersion()Returns the value of thepublisherVersionrecord component.- Returns:
- the value of the
publisherVersionrecord component
-
jdbcPolicy
Returns the value of thejdbcPolicyrecord component.- Returns:
- the value of the
jdbcPolicyrecord component
-
jdbcRegistration
Returns the value of thejdbcRegistrationrecord component.- Returns:
- the value of the
jdbcRegistrationrecord component
-
codec
-
intents
-
intentRetention
Returns the value of theintentRetentionrecord component.- Returns:
- the value of the
intentRetentionrecord component
-
payloadRetention
Returns the value of thepayloadRetentionrecord component.- Returns:
- the value of the
payloadRetentionrecord component
-
telemetry
-