Set the runtime parameters of the plug-in server JVM

Purpose

Sets the runtime parameters of the plug-in server JVM.

URI

Use the Eclipse Amlen REST API POST method with the following Eclipse Amlen configuration URI:

http://<admin-endpoint-IP:Port>/ima/v1/configuration/

Object configuration data

Provide PluginVMArgs object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json:


{    
  "PluginVMArgs": "string"
}
Where:
PluginVMArgs
Specifies the runtime parameters of the plug-in server JVM.

Usage NotesĀ®

  • Capitalization and double quotation marks must be used as shown.
  • The update does not take effect until you restart the protocol plug-in server process.

Related REST Administration APIs

Example

Sets a value for the runtime parameters of the plug-in server JVM by using cURL:
  
curl -X POST \
   -H 'Content-Type: application/json'  \
   -d  '{ 
           "PluginVMArgs": "-Xms2G -Xmx4G"
        }
 '  \
http://127.0.0.1:9089/ima/v1/configuration/
An example response to the POST method:

{        
  "Version": "v1",
  "Code": "CWLNA6011",
  "Message": "The requested configuration change has completed successfully."
}