{
  "synLogic": "int $ret \u003d $api($1, $2, $3);",
  "help": "The ns_tibco_set_putMsg_timeout is a function that sets the timeout value for a TIBCO messaging process. This function is used to set the amount of time a messaging process will wait for a message to be sent to a destination before timing out.",
  "notes": "",
  "returns": "The function returns an integer value, which indicates whether the operation was successful or not. A value of 0 indicates success, while a value of -1 indicates failure.",
  "arguments": "\u003ctable class\u003d\"newGuiTable\" style\u003d\"width:100%\" \u003e \u003ctr\u003e \u003cth\u003e Argument \u003c/th\u003e \u003cth\u003e Description \u003c/th\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e JPID \u003c/td\u003e \u003ctd\u003e This is an integer parameter that represents the process ID of the messaging process. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Timeout \u003c/td\u003e \u003ctd\u003e This is a double precision floating point parameter that represents the timeout value to be set for the messaging process. The value is specified in seconds. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Error Message \u003c/td\u003e \u003ctd\u003e This is a character pointer parameter that is used to return an error message if an error occurs while setting the timeout value. The error message is returned in this parameter as a null-terminated string. \u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e",
  "parameterization": "",
  "name": "ns_tibco_set_putMsg_timeout",
  "syntax": "int ns_tibco_set_putMsg_timeout(int jpid, double timeout, char *error_msg)",
  "javaSyntax": "int ns_tibco_set_putMsg_timeout(int jpid, double timeout, char *error_msg)",
  "cEx": "flow()\n{\n  int jpid = 1234;\n  double timeout = 10.0;\n  char error_msg[256];\n  int result = ns_tibco_set_putMsg_timeout(jpid, timeout, error_msg);\n  if (result == 0) {\n    printf(\"Timeout value set successfully\");\n  } else {\n    printf(\"Error setting timeout value: %s\", error_msg);\n  }\n}",
  "javaEx": "flow()\n{\n  int jpid = 1234;\n  double timeout = 10.0;\n  char error_msg[256];\n  int result = ns_tibco_set_putMsg_timeout(jpid, timeout, error_msg);\n  if (result == 0) {\n    printf(\"Timeout value set successfully\");\n  } else {\n    printf(\"Error setting timeout value: %s\", error_msg);\n  }\n}",
  "insertStrC": "ns_tibco_set_putMsg_timeout(int jpid, double timeout, char *error_msg);",
  "insertStrJava": "ns_tibco_set_putMsg_timeout(int jpid, double timeout, char *error_msg);",
  "description": "The ns_tibco_set_putMsg_timeout is a function that sets the timeout value for a TIBCO messaging process. This function is used to set the amount of time a messaging process will wait for a message to be sent to a destination before timing out.",
  "component": [
    {
      "id": "$1",
      "type": "TextField",
      "label": "JMS Pool Id",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter jpid",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Number",
        "required": true,
		"max": 2147483647,
        "min": 0
		}
    },
	{
      "id": "$2",
      "type": "TextField",
      "label": "Timeout",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Timeout should be numeric",
      "placeHolder": "",
      "style": "",
	  "quotes" : false,
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true,
		"pattern": "^[0-9]+(\.[0-9]*)?$",
		"max": 0,
		"min": 0
		}
    },
	{
      "id": "$3",
      "type": "TEXT_VAR",
      "label": "Error message",
      "labelVarCheckbox": "If error message is a program variable",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter error message",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true
		}
    },
    {
      "id": "$ret",
      "type": "TextField",
      "label": "Return Variable",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "First character must be Alpha.\r\nOther characters are Alpha, Numeric or Underscore.",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
		"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,63}$",
        "required": false,
        "method": "isValidVar(arg)"
      }
    }
  ]
}
