Starting the wire listener

You can start the wire listener for the MongoDB API by using the start command.

Before you begin

Procedure

To start the wire listener, run the wire listener command with the -start option.
For example:
java -jar onedb-wire-listener.jar
-config onedb-wire-listener.properties -start

Results

The wire listener starts.

Example

In the following example, the wire listener is started with the configuration file specified as onedb-mongo.properties, the log file specified as onedb-mongo.log, and the log level specified as info:
java -jar onedb-wire-listener.jar
-config onedb-mongo.properties
-logfile onedb-mongo.log
-loglevel info -start
Here is the output from starting the wire listener:
starting mongo listener on port 27017