Getting Port Number

Retrieve the port number provisioned in the client repository.

Syntax

public static int getPortNumber() throws com.sybase.mo.MessagingClientException

Returns

Returns the port number as an integer.

Examples

  • Retrieve the port number
    AppSettings.getPortNumber();