How to detect the JMS connection set by JNDI lookup

I am using JMS trigger service to receiving the incoming message. In the trigger propeties, I set “Suspend and Recover” in transient error handling.
My question is how to build its resouce monitoring service to check the availability of the JMS connection set in webMethods.

I could use Java service solution which connects the JMS provider and opens a session then closes it.

However, the Java service checks the JMS provider availability not the JMS connection alias set within IS. They are related but not 100% the same. What if the connection alias gets disabled in IS for some reason?

Is there any build-in service I could use to detect the JMS connection alais availability in JMS trigger resource monitoring service?