Proceed with extreme caution. I may be overly conservative in this regard but my policy over the years has been to treat the queues (Broker or UM) as a black box. Sure, one can browse them to see the events and their data but IMO one should resist, at almost all costs, to edit that queue in any way. At some point, the “helpful” utility to remove that one “bad” message will go horribly wrong and it will shoot you in the foot (or worse).
Purging a queue should also be a “virtually never” activity.
Removing messages from a queue should not be a standard recovery mechanism. Turn your attention instead to figuring out how to avoid “connection got abruptly stopped due to xyz reason.” That’s the issue to solve rather than how to remove messages from a queue.
As always, just one POV to consider. 
#Universal-Messaging-Broker#webMethods#Integration-Server-and-ESB#universal-messaging#Flow-and-Java-services