We are quite happy with spring-integration except when things do not work as expected. Then it is really difficult to find out what is going on (we are using xml configuration). Can someone point me to the java components behind the spring integration components in order to debug them. For instance: If I have a headerValueRouter, where can I set a breakpoint to find out what is the actual value of the header inside the message, just before the component is doing the routing. Maybe there is even a list int:component->java class?
True. The list exists, but it isn't so direct, as you may expect. Each xml component goes to some parser. And the last one configure the Spring Integration component(s).
You can find the mapping from source code of any AbstractIntegrationNamespaceHandler
implementation.
Actually, we try to reflect xml-tag names with Java class names. So <header-value-router>
-> HeaderValueRouterParser
-> HeaderValueRouter
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With