Allow IBM MQ Health Check to do a deeper check including the Queue/Topic/Process #683
Labels
enhancement
New feature or request
ibmmq
Ups for grabs
Issue is available to anyone who is interested
What would you like to be added:
Today the health check constructs a new MQMQueueManager and checks for lack of an Exception. Which works great. I would like it to optionally also call queueManager.AccessQueue() or queueManager.AccessTopic() or queueManager.AccessProcess() to see if said entity actually exists. All 3 of these take a string as the 1st argument and possibly the 2nd argument of int openOptions could be left at zero (still looking into this, got it to work for AccessQueue so far).
Why is this needed:
Currently checks if the queue manager can connect (which is cool), but cannot tell me if the queue or topic or process exists.
In my use case I also need to check in queue or topic exists.
Altered the existing IBMMQHealthCheck source code with an EntityType and an EntityName to tell it which type of item to check(queue/topic/process) and the string identiofying the entity. If those are null the addl check is not executed.
The text was updated successfully, but these errors were encountered: