summaryrefslogtreecommitdiff
path: root/examples/databasewebsocketsink.in.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/databasewebsocketsink.in.json')
-rw-r--r--examples/databasewebsocketsink.in.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/databasewebsocketsink.in.json b/examples/databasewebsocketsink.in.json
new file mode 100644
index 00000000..5dec82f1
--- /dev/null
+++ b/examples/databasewebsocketsink.in.json
@@ -0,0 +1,29 @@
+{
+ "sources" : [
+ {
+ "path" : "@PLUGIN_INSTALL_PATH@/examplesourceplugin.so"
+ },
+ {
+ "name" : "Database",
+ "path" : "@PLUGIN_INSTALL_PATH@/databasesinkplugin.so",
+ "databaseFile" : "../tests/generated.db",
+ "bufferLength" : "1",
+ "properties" : "['VehicleSpeed','EngineSpeed']",
+ "startOnLoad" : "true",
+ "playbackOnLoad" : "false",
+ "playbackMultiplier" : "1",
+ "frequency" : "1"
+ }
+ ],
+ "sinks": [
+ {
+ "name" : "WebSocketSink",
+ "path" : "@PLUGIN_INSTALL_PATH@/websocketsink.so",
+ "interface" : "lo",
+ "ssl" : "false",
+ "port" : "23000",
+ "binaryProtocol" : "false",
+ "useExtensions" : "true"
+ }
+ ]
+}