StackOverflowError in toString method within anonymous class in TransactionErrorHandler of camel-spring component
Issue
- The
toStringmethod in theanonymousclass inorg.apache.camel.spring.spi.TransactionErrorHandler#processByErrorHandlercauses a stack overflow - Implemented as
return "Done " + this;
- Probably should be
return "Done " + TransactionErrorHandler.this;
- Only noticed during debugging session when the debugger invokes
toStringon an instance.
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
