Elastic Java Client Async APM Transaction

Thanks for double-checking this @elastic_rookie !

This fix actually is implemented in the 7.x REST client (the 8.x client also relies on REST client), so the recent versions of 7.x Elasticsearch clients are covered as well. In the added unit tests you have an example of an equivalent code for 7.x.

Thanks again for the feedback, this will likely be shipped in the next agent release.
You can subscribe to release notifications on github to get notified when it's available.