MSMQ Collection Agent

The MSMQ collection agent is used to connect to an MSMQ queue and receive messages. 

For example:

MSMQ Collection Workflow

Consider this simple workflow where an MSMQ collection agent is connected to an Analysis agent. Configure the Analysis agent as specified below:

Example: Collecting and Processing an MSMQ Message

consume {
       if ( instanceOf (input, MSMQ)) 

          {
           MSMQ msg = (MSMQ) input;

           //Process the MSMQ Message

           }
}


The section contains the following subsections: