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, tools, and much more.