open method

Syntax
void QAManager.open(
  short mode
)
throws QAException
Parameters
  • mode   The acknowledgement mode, one of AcknowledgementMode.EXPLICIT_ACKNOWLEDGEMENT or AcknowledgementMode.IMPLICIT_ACKNOWLEDGEMENT.

Throws
  • Thrown if there is a problem opening the QAManager instance.

Remarks

Opens the QAManager with the given AcknowledgementMode value.

The open method must be the first method called after creating a QAManager.

If a database connection error is detected, you can re-open a QAManager by calling the close method followed by the open method. When re-opening a QAManager, you do not need to re-create it, reset the properties, or reset the message listeners. The properties of the QAManager cannot be changed after the first open, and subsequent open calls must supply the same acknowledgement mode.

See Also

AcknowledgementMode interface

EXPLICIT_ACKNOWLEDGEMENT variable

IMPLICIT_ACKNOWLEDGEMENT variable

close method