Class HarvesterQueueControl


  • public class HarvesterQueueControl
    extends 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
    • Constructor Detail

      • HarvesterQueueControl

        public HarvesterQueueControl()
    • Method Detail

      • main

        public static void main​(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