r/CargoWise

CargoWise eAdapter – Handling oversized EDI files (10MB limit) without blocking the queue?

Hey all,

I’m running into a bit of a headache with CargoWise eAdapter and wanted to see how others are handling this.

The issue: We send outbound EDI through Eadaptor to a 3rd-party connection that has a hard 10MB file size limit. When a transmission exceeds that size:

  • The message fails if it exceeds 10MB
  • BUT it also blocks the entire outbound queue
  • No further transmissions go out until it’s manually cleared (First In First OUT)

So effectively, one oversized file can bring all outbound EDI traffic to a halt until someone intervenes.

Current situation

Right now the process is:

  1. Oversized EDI gets generated
  2. It fails due to the 10MB limit
  3. The queue locks up
  4. Someone has to go in manually, clear/cancel it, and then things resume

Not ideal, especially if it happens after hours/vacation etc.

What I’m trying to achieve

Ideally, I’d like something a bit more resilient/automated, along the lines of:

Option 1 – Auto handling / failover

  • Detect oversized transmissions before or after failure
  • Automatically:
    • Cancel it (after X retries, say 3 attempts)
    • Allow the rest of the queue to continue processing

Option 2 – Alert + payload capture (preferred)

  • After 3 failed send attempts:
    • Automatically cancel the transmission
    • Send me an email alert containing:
      • The EDI payload (raw or attached)
      • Error/log details

From there I could:

  • Route it manually or via automation
  • Split/reprocess it differently
  • Or send via another channel

What I’m curious about

Has anyone dealt with something similar in CargoWise or eAdapter specifically?

A few angles I’m exploring:

  • Pre-processing to split large EDI payloads before they hit the adapter
  • Queue management or retry policies that don’t block everything
  • Hooking into logs/events to trigger email alerts or scripts
  • Any kind of “dead-letter” style handling for failed transmissions

Questions

  • Have you found a way to prevent a single failed EDI from blocking the whole outbound queue?
  • Is there any built-in way in CargoWise/eAdapter to:
    • cap retries
    • auto-cancel after failures
    • notify with payload/logs?
  • Are you handling this outside of CargoWise (middleware, scripts, etc.)?

Bonus points

If anyone has:

  • Scripts
  • Monitoring setups
  • Or creative workarounds (PowerShell, API hooks, etc.)

…I’d love to hear how you’re doing it.

TL;DR

3rd-party EDI limit = 10MB
Oversized file = fails + blocks entire outbound queue
Looking for a way to:

  • Auto-cancel after retries
  • Keep queue moving
  • Email the failed EDI + logs so I can reroute it
reddit.com
u/RealSeason4228 — 3 days ago