Aegis 'Depot' Activity - MSMQ Send, Receive and Purge

Aegis 'Depot' Activity - MSMQ Send, Receive and Purge


There are times where the unexpected happens.  For example normally we get normally 15 events from X per day - but because of a network outage suddenly we get 200+ in a minute.  How will your processes scale to this scenario?  Aegis can run any number of workitems, but if 200+ workitems are simultaneously trying to access the same resource, things will invariably slow down.  There are different workflow techniques to overcome this type of problem and here is another with using Message Queuing as a solution.

An example would be in a batch processing workflow.  We know for 23.9 hours of the day there is no activity, but we need to respond to 1000 events all together in a few minutes.

Here is what we could do : Trigger on the event as normal, add the event to a local message queue and end the workitem.  This will be done by 999 other workitems (or we could do it via append in the first).  These workitems will be really lightweight as they don't do much so will end quickly.  The core workflow however will trigger also on the first event and take the first message off the queue, run the automated process and on completion signal to start a new instance of the core workflow which handles the next message.  This will go on until there are no messages left on the queue.

This is a set of activities which interact with non-transactional private queues on the Aegis Server.  They will not work against any NetIQ Aegis Message Queues!

 

Activity Installation Instructions are here:

https://www.netiq.com/communities/cool-solutions/how-to-install-a-custom-depot-aegis-activity-from-netiq-cool-tools


 

 
NetIQ does not test or validate any software, code or other materials provided in, on or through NetIQ Cool Solutions (collectively, "Materials"), so please use caution when downloading or accessing any Materials from Cool Solutions and ensure that you have reasonable and current security, spyware and anti-virus measures in place on your computer and/or network prior to downloading. Additionally, do not use any Materials downloaded from Cool Solutions in any production environment without first testing the Materials to ensure they are compatible with your version of NetIQ software or any other hardware or software present in your network or environment. Cool Solutions is not a substitute for authorized NetIQ support and should not be used as such. NETIQ COOL SOLUTIONS AND ANY MATERIALS ARE PROVIDED ON AN AS-IS, AS-AVAILABLE BASIS WITHOUT ANY WARRANTY OF ANY KIND. By downloading this file, you are agreeing to these terms of use. To report a problem please contact: coolguys-netiq@netiq.com. Your use of Cool Solutions is governed by the Cool Solutions Terms and Conditions. https://www.netiq.com/communities/coolsolutions/terms-and-conditions/
Labels (1)
Attachments

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
7 of 7
Last update:
‎2020-01-09 16:45
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.