We use Spring integration DSL pretty heavily in our app and am currently troubleshooting high CPU usage. Looking into the threads that are consuming high CPU, noticed that spring integration call stack is too deep, more than 500+ lines. Our spring integration flows are long and complex and speak for the deep stack, but am trying to see if that can be a potential cause for the high CPU usage. Any thoughts on how spring integration DSL can impact CPU will help.
Thanks Zafer