WSMQ GD Adapters Recovery Test

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

Locate the example in\examples\EnterpriseAdapters\WebSphereMQGDAdapter.

Before you run the example file, configure the following WSMQ components:
  • Manager
  • Queue
  • Channel
  • Listener
Optionally, modify the following WSMQ input/output adapter properties in CCL to match the environment:
  • "QUEUENAME"
  • "SYSTEMNAME"
  • "PORT"
  • "CHANNEL"

To complete the recovery test:

  1. Prepare messages in one queue as the input data. You can use the "WSMQ Output 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 “WSMQ Input Adapter example” to complete verification.