MSMQ GD Adapters Recovery Test

Run this example to test guaranteed delivery of MSMQ messages in the event of system crash.

Locate the example file in \examples\EnterpriseAdapters\MsmqGDAdapter.

In this example, the MSMQ GD input adapter reads messages from a Microsoft translation queue, and the MSMQ GD output adapter sends the messages to another Microsoft translation queue.

Before you run the example, you may modify the MSMQ input/output adapter “QUEUEPATHNAME” property in CCL to match the environment.

To complete the recovery test:

  1. Prepare messages in one queue as the input data. You can use the "MSMQ Output GD Adapter example" to prepare the input data.
  2. Crash and restart the CEP Server several times; each time you restart the Server, verify that no messages are lost. You can use the “MSMQ GD Input Adapter example” to complete verification.