The Listeners on WAS will not go down just like that until the MDB is unable to process the Message. The listener goes down only when the maximum retry count has been reached and still the message is unable to be processed.
If a backout queue has been configured for the queue manager then such a message will be moved to the bakout queue giving room for the next message in the sequence thereby avoiding the lister to go down.
I don't think there is any other way to check if WAS listener is up before putting the message.
One of the best approach to ensure that lister is always up is to configure a backout queue.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum