Clear JmsDataLoadQueue


Unlike other InvalidationQueues, JmsDataLoadQueue cannot be cleared with the .clear() function. Instead you can use the following snippet to clear all entries from the JmsDataLoadQueue.

var t = JMS.listQueues();
t.forEach(function(f) {
	if(f.pendingMsgCount >0){

As a note, JMS.listQueues() is a good way to get more details about what canonicals are being processed in the queue as well.