Is there a way how to log the lifecycle of the spring integration message?
e.g. given DSL IntegrationFlow
jmsFlowsUtils.jmsXmlInputFlow(queue)
.<Object, Class<?>>route(Object::getClass, firstFlow -> firstFlow
.subFlowMapping(SomeClass.class.getName(), amEventFlow -> amEventFlow
.filter(...)
.transform(...)
.channel(...)
.handle(...)
)
.subFlowMapping(OtherClass.class.getName(), secondFlow -> secondFlow
.filter(...)
.transform(...)
.channel(...)
.handle(...)
)
)
.get();
The log message would be a string containing EIP endpoint ids/names the message travelled through including timestamps
This would build the basis for some other tool to extract information from logs and present it to users in nice form (e.g. ELK stack might be used for that purpose: https://www.elastic.co/products)
Does anybody have any experience with this use-case?