MSMQ Collection Agent

MSMQ Collection Agent

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

msmq-agent.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            } }

The section has the following subsections: