9.54.2 MSMQ Collection Agent


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

For example:

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

           }
}

To configure the MSMQ Collection agent, refer to 9.53.2.1 MSMQ Collection Agent Configuration.