The system I am working on uses MQ as the interface for internal as well as external system integration. The same request goes through multiple queues and is processed by different internal as well as external applications. I would like to be able to trace the request end-to-end. There is a message id in the payload that uniquely identifies the request. Is it possible to extract the message id from the payload and add it to the request name or trace id?
You can try to use request attributes. You can track HTTP headers in request and response.
If you are using Grail, you have also Business Events. Allowing you track content in payload's body.
When you have that tracked, you can configure a request naming rule.