Fix Invoke mediator to handle empty transport headers during connector operation - #2576
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughUpdated WalkthroughThe change modifies InvokeMediator.prepareForMediation to guard against a null headers property when constructing the transportHeadersMap. Instead of unconditionally casting and cloning the headers property into a TreeMap, the code now checks for null and creates an empty TreeMap in that case, otherwise cloning the existing headers into a TreeMap. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
$subject