...
Code Block |
---|
{ 'name':'org.wso2.bam.mystream', 'version':'1.0.0', 'nickName': 'My_Stream', 'description': 'This is the stream definition used to send data to bam', 'metaData':[ {'name':'clientType','type':'STRING'} ], 'payloadData':[ {'name':'my_field_1','type':'STRING'}, {'name':'my_field_2','type':'INT'}, {'name':'my_field_3','type':'INT'}, {'name':'my_field_4','type':'STRING'} ] } |
Assume you have saves saved this stream definition as MyTestStreamDefinition.js, then the streams.properties file should be as follows,
...