There is an enhancement called “IS_6-1_Fix22” that will supply you with 4 new services in the WmPublic package:
- pub.trigger:suspendRetrieval
- pub.trigger:resumeRetrieval
- pub.trigger:suspendProcessing
- pub.trigger:suspendRetrieval
pub.trigger:suspendRetrieval will stop documents from being retrieved for the trigger from the broker. Any server threads currently retrieving documents for the trigger will execute to completion.
pub.trigger:suspendProcessing will documents from being processed from the trigger queue.
I think the biggest difference is that if you execute suspendRetrieval, all of the docs in the trigger queue will be processed before things stop, and if you run suspendProcessing, the trigger queue will be filled, but processing will stop after the current document being processed is complete.
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods