[Docs] Fix Defer examples#4030
Conversation
… attribute Now that DeferMessageOnErrorAttribute is available, the Kafka and RMQ DeferOnError samples use the declarative [DeferMessageOnErrorAsync] attribute instead of manually throwing DeferMessageAction. This aligns with the DontAckOnError and RejectOnError sample patterns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… build exclusion Add 5 new sample project folders (17 projects) to Brighter.slnx that were missing: KafkaDeferOnError, KafkaDontAckOnError, KafkaTaskQueueWithDLQ, RMQDeferOnError, and RMQTaskQueueWithDLQ. Also remove the Debug build exclusion from Paramore.Brighter.Testing.Tests so it builds in all configurations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
No application code in the PR — skipped Code Health checks.
See analysis details in CodeScene
Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
PR Review: [Docs] Fix Defer examplesThis is a good cleanup. Replacing the manual A few things worth looking at: README expected output is inaccurateBoth READMEs show this expected output: The second line shows Consider showing the
|
* [Samples] Update DeferOnError samples to use DeferMessageOnErrorAsync attribute Now that DeferMessageOnErrorAttribute is available, the Kafka and RMQ DeferOnError samples use the declarative [DeferMessageOnErrorAsync] attribute instead of manually throwing DeferMessageAction. This aligns with the DontAckOnError and RejectOnError sample patterns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * [Chore] Add missing sample projects to solution and fix Testing.Tests build exclusion Add 5 new sample project folders (17 projects) to Brighter.slnx that were missing: KafkaDeferOnError, KafkaDontAckOnError, KafkaTaskQueueWithDLQ, RMQDeferOnError, and RMQTaskQueueWithDLQ. Also remove the Debug build exclusion from Paramore.Brighter.Testing.Tests so it builds in all configurations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
The examples for defer need fixing to support the DeferMessageOnError attribute