Retry and reconciliation

  • Distinguish a replayable failure from a lost reply and recover the correct campaign stage.
Diagram phase
100%

Customer Power suppression, injection and retry paths

How a CP retry reaches another SOAP attemptRequest / responseControl / stateFailure / rejectionMessagingDeliveryStop conditionEligibleAttemptTimeout after sendRetry messagefrom SolaceRetry MDBand auditCeiling orineligibleCustomer PowerSOAP attemptRebuild eligiblecampaign requestLost replyoutcome uncertainDeliveryStop conditionEligibleAttemptTimeout after send

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • Normal delivery and retry use separate consumers. The retry MDB checks delivery count and rebuilds eligible work.
  • Remote CP acceptance and local audit are separate effects. Loss of the reply leaves the business outcome open.
  • JMS redelivery delay changes when another attempt starts. Only a provider-side outcome or deduplication contract can establish whether it is safe to send again.
Retry and reconciliation

Retry and reconciliation

JMS 2.0 · Stage identity and retry ownership

Current retry ownership

  • Normal CP work and retry messages use separate paths. A retry MDB checks delivery count and current eligibility before attempting the business stage again.
  • The normal and retry envelopes carry different identity fields. Match the target and stage, then check the recorded outcome. An audit row can also represent a failed attempt.
  • A custom JMS consumer can delay redelivery under local transaction control. Before adopting this approach, check who owns acknowledgement and delay in the container-managed path.

Use the previous stage outcome

Observation Proposed action Recovery boundary
Confirmed suppression, eligible successor Resume the pending injection for that target Direct suppression ends here
Proven transient failure before send Retry the same stage within the shared attempt and deadline budget Preserve the original operation and target
Timeout after a possible send Record UNKNOWN and reconcile with CP A remote receipt, authoritative query or documented provider deduplication contract is required for automatic resolution
Permanent rejection, missing target or malformed identity Park with evidence and an owner Repair/review before any further send
  • Each lease or transaction protects only its local scope. Once an old request has reached CP, a newer LCM version cannot cancel its remote effect. Resolve ordering or reconcile desired versus observed campaign state.
Illustrative timeout and redelivery recordjson
{
  "fixture": "Proposed refresh recovery after an ambiguous CP reply",
  "operationId": "offer-change-42",
  "target": {"customerRef": "customer-A", "productRef": "product-X", "campaignRef": "banner-1"},
  "sourceVersion": 7,
  "stages": [
    {"name": "SUPPRESS", "confirmed": true, "remoteReceipt": "demo-sup-1"},
    {"name": "INJECT", "attempt": 1, "correlationId": "demo-attempt-1", "observed": "timeout_after_send", "outcome": "UNKNOWN"}
  ],
  "redelivery": {"attempt": 2, "correlationId": "demo-attempt-2", "operationId": "offer-change-42", "stage": "INJECT"},
  "expected": [
    "Preserve the confirmed suppression result and the uncertain injection attempt.",
    "Reconcile that same target, version and stage with CP before choosing a replay.",
    "If the original effect is confirmed, record completion without sending again.",
    "If CP cannot identify the outcome or deduplicate this stage, park the case for controlled resolution.",
    "If version 8 arrived meanwhile, retain the version 7 evidence. Recompute the desired version 8 campaign after resolving the older in-flight effect."
  ]
}

Adopt in reversible stages

  • Start with envelope compatibility, explicit audit success predicates and a bounded combined retry/normal admission budget. Verify whether current durable intent already closes the local handoff gap before introducing another table.
  • Keep one durable business operation ID across redelivery. Store the target and stage separately. Each send gets its own attempt/correlation ID. Two customers sharing a PAN can have different pending operations.
  • Shadow the classifier on known outcomes, then exercise duplicate deliveries and a lost SOAP response in a controlled environment. Gain provider agreement on deduplication scope, retention and outcome-query authority before enabling automatic replay of unknowns.
  • Budget reconciliation staff/time, persistent history, retention and writer ownership. On rollback stop new dispatch, preserve unknowns and stage IDs, and transfer unfinished cases. A compensating inverse CP call needs its own business contract.