Spring Integration enrichHeader with randomUUID
问题 I'm a newbie with Spring Integration, using Java 7, and I had this xml configuration before moving to Spring integration DSL, and my application was working to enrich a header with a monitoring ID generated from random UUID (This was to correlate request and response for later searching in logs, maybe this could be done in a different way, don't know): <int:chain input-channel="requestChannel" output-channel="responseChannel"> <int:header-enricher> <int:header name="translator-monitoringId"