MSMQ Collection Agent (4.3)

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

For example:

image (3).png

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, see MSMQ Collection Agent Configuration (4.3).