essobedo commented on PR #9332: URL: https://github.com/apache/camel/pull/9332#issuecomment-1427091598
Well, we don't necessarily need 2 classes, but the code will be cleaner and thus easier to maintain, it will then follow the Single-responsibility principle. Regarding, the unit test, you can simply adapt what the OP provided as it helps to reproduce the bug. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org