Description

The GMapPutReceiver sends key/value generated data to a given G-MapServer via REST.  The GMapPutReceiver works in conjunction with the GMapKeyValueGen Generator.


Component Diagram

The component diagram below shows how the GMapPutReceiver interacts with a GMapKeyValueGen and a G-MapServer



Parameters

The GMapPutReceiver requires that the following parameters are defined. Items with an asterisk* are required.

  • configPath* - Defines the base path where a configuration file contains the REST URL and port for connecting to a G-MapServer.
  • configSubDir - Defines an optional subdirectory where a configuration file contains the REST URL and port for connecting to a G-MapServer.
  • configName* - Defines the name of the configuration file that contains the REST URL and port for connecting to a G-MapServer.
  • namespace - Defines the namespace within a G-MapServer to store key/value data.
  • batchSize* - Defines the number of key/value pairs to send to a G-MapServer in one batch. The default is 1 key/value pair.
  • resetAction* - Defines if, when, and how a G-MapServer resets its' internal cache. The options are the following:
    • NoAction
    • ResetNamespaceOnStartup
    • ResetNamespaceOnShutdown
    • ResetCacheOnStartup
    • ResetCacheOnShutdown

Example