Class HarvesterQueueControl


  • public class HarvesterQueueControl
    extends java.lang.Object
    Use the JMSConnection.createQueueBrowser() method to test number of entries in a specific Queue. If test successful, we will add a check of messages in the queue for the harvestjobchannel before submitting another message to this queue
    Author:
    svc
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getCount​(ChannelID queueID)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • getCount

        public static int getCount​(ChannelID queueID)
                            throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException