Skip to content
Kegan Holtzhausen edited this page Jun 8, 2015 · 6 revisions

EventBus Message Structure

A message contains 3 pieces of information:

Name Description
topic The metric name being emitted, e.g. stats / vpn_name / ...
data JSON conversion of Solace RPC XML
config metric path hinting, representation formatting

Example:


{  
   "topic":"metricName / VPN name",
   "data":{  
      // RPC response from Solace in JSON format
   },
   "config":{
      "data_path":"rpc-reply.rpc.show.message-vpn.vpn.stats",
      "view":"generic_vpn_stats",
      "view_format": {
         // view document for view key name above
      }
   }
}

Clone this wiki locally