middleware-testing-patterns
Installation
SKILL.md
Middleware Testing Patterns
<default_to_action> When testing enterprise middleware, ESBs, or message-driven systems:
- VALIDATE message routing logic (content-based, header-based, recipient list)
- TEST message transformations end-to-end (input format -> output format)
- VERIFY dead letter queue handling (poison messages, retry exhaustion)
- ASSERT message ordering and sequencing with correlation IDs
- EXERCISE error handling and compensation patterns
- TEST protocol mediation (SOAP-to-REST, sync-to-async)
- VALIDATE EIP patterns (splitter, aggregator, content enricher, normalizer)
Quick Pattern Selection:
- Message routing issues -> Content-based router tests
- Transformation failures -> Schema-in/schema-out validation
- Lost messages -> DLQ and retry pattern tests
- Protocol bridging -> Mediation round-trip tests
- Complex flows -> Correlation ID tracing tests