This documentation is for WSO2 Stream Processor 4.2.0. View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example Input Source definition as bellowbelow.

Code Block
languagesql
linenumberstrue
@Source(type = 'http',        
		receiver.url='http://localhost:8006/productionStream',
        basic.auth.enabled='false',
        @map(type='json', @attributes( name='$.name', amount='$.quantity')))
define stream SweetProductionStream (name string, amount double);

...