start json listener argument: Start the MongoDB API wire listener (deprecated)

Use the start json listener argument with the admin() or task() function to start the MongoDB API wire listener.

Syntax


1  EXECUTE FUNCTION
1 admin
1 task
2  (
2  "start json listener" ,"?  , "property_file"?  , "listener_arguments" "
2  ) ;
Element Description Key Considerations
property_file The name of the wire listener configuration file to use instead of the default. The property_file is optional. The default wire listener configuration file is in $INFORMIXDIR/etc/jsonListener.properties.
listener_arguments The command line argument to pass to the wire listener.

Usage

The start json listener argument starts the MongoDB API wire listener.

Example

In this example, the MongoDB API wire listener is started by using the mycustom.properties file instead of the default jsonListener.properties file:
EXECUTE FUNCTION task("start json listener", "mycustom.properties");
In this example, the MongoDB API wire listener is started by using mycustom.properties file instead of the default jsonListener.properties, the port is specified as 27018, and the logging level is set as debug:
EXECUTE FUNCTION task("start json listener", "mycustom.properties",
   "-port 27018 -loglevel debug");