Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3828

DUCC job driver (JD) should auto-retry lost work items - improvement

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-Ducc
    • DUCC
    • None

    Description

      Once that all JPs have stopped, perhaps JD should insure queue is purged.

      // The ActiveMQ JMX domain
      > String amqDomain = "org.apache.activemq";
      >
      > // The parameters for an ObjectName
      > Hashtable<String, String> params = new Hashtable<String, String>();
      > params.put("Type", "Queue");
      > params.put("BrokerName", brokerName);
      > params.put("Destination", queueName);
      >
      > // Create an ObjectName
      > ObjectName queueObjectName = ObjectName.getInstance(amqDomain, params);
      >
      > // Create a proxy to the QueueViewMBean
      > QueueViewMBean queueProxy = (QueueViewMBean)
      > broker.getManagementContext().newProxyInstance(queueObjectName,
      > QueueViewMBean.class, true);
      >
      > // Purge the queue
      > queueProxy.purge();
      >

      See Jira 3577.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lou.degenaro Lou DeGenaro
            lou.degenaro Lou DeGenaro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment