Artemis MQ locking seen from Dynatrace

Solution Verified - Updated -

Issue

  • In our case, Artemis client stumbled upon synchronization block of which reported as long LOCK time by Dynatrace. Excerpt from ActiveMQConnectionFactory code confirms this.
  • When executing Threads tried to enter synchronised method, it will acquires lock(monitor). This usually take more time compared to unsynchronised version. Since this looks expensive(I stand to be corrected)
  • is there other way to improve this? for example using PooledConnectionFactory ...et all.

Environment

  • Red Hat AMQ
    • 7.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content