Shutting down QAnywhere

After you have completed sending and receiving messages, you can shut down the QAnywhere messaging system by completing one of the following procedures.

To shut down QAnywhere (.NET)

  • Stop and close the QAnywhere manager.

    mgr.Stop();
    mgr.Close();

To shut down QAnywhere (C++)

  1. Close the QAnywhere manager.

    mgr->stop();
    mgr->close();
  2. Terminate the factory.

    QAnywhereFactory_term();

    This step shuts down the messaging part of your application.

To shut down QAnywhere (Java)

  • Stop and close the QAnywhere manager.

    mgr.stop();
    mgr.close();
See also