Set the API and MI-program settings

If connection pooling is enabled, use this procedure to set the API and MI-program properties. See, API clean up and validation

Before you can configure any property value in this group, you must be logged in as an administrator.

Use this procedure for every MvxAPI property value to update.

  1. On the EC Configuration page, click the Edit Properties. link.
  2. In the Application Defined Properties list, scroll down to the MvxAPI group and expand the view.
  3. To set the MvxAPI property values, click the value link across the property to update.
  4. On the Edit Property window, specify a new value.

    Use these guidelines:

    Property Description
    MvxAPI.Pool.Enabled

    If enabled, EC will pool the MI/API connections.

    Default data is 1, where 1=on and 0=off

    MvxAPI.Pool.Cleaner.Sleep

    The interval in seconds when EC checks for, and removes expired connections.

    Data is 60

    MvxAPI.Pool.Connection.Expires

    The time in seconds when to expire unused connection.

    Data is 480

    MvxAPI.Pool.Connection.Connect.TimeOut

    The time in seconds when to close a connection after attempts to require a connection fail.

    Data is 300

    MvxAPI.Pool.Connection.Read.TimeOut

    The time in seconds when to close a connection after waiting on a reply. Timed out connection is considered dead and closed.

    Data is 300

    MvxAPI.Pool.Connection.CheckAPI.Time

    Skips API check if API was used within a specified number of seconds.

    Default data is 0, meaning to always perform check or validate.

    MvxAPI.Pool.Connection.Max Number of maximum connections in a pool, per node.
    MvxAPI.Pool.Connection.RetrySleepTime Number of milliseconds that the thread will sleep before it checks for a free API connection in pool.
    MvxAPIMI-pgm.baseLib

    Set this property when the run-time server needs to access the M3 APIs.

    EC uses the Floating Protocol Wrapper (FPW) gateway to access the MI programs. This property specifies an explicit library where the FPW can find the MI programs. When a comment is added, the FPW will use its own library list to locate the MI programs.

    Data is MVXBMBD01

    MvxAPI.Set.LstItems

    The 0 < value < 99999 value specifies the maximum number of records to return by any given API list call. For example, (XXX001\LstItems).

    If the value=0, no call is placed to XXX001\SetMaxLstRec, then, M3 will use the current API transaction's default value of 99999.

  5. Click Update Property.
  6. Save the changes.