You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This transport handler can be used to send Odysseus POST or PUT messages (e.g. via REST)

Parameter:


  • Path: The path the server should listen to. When not given, path is "/"
  • Port: The port for the http server. When not given: 8080
  • Hostname: The name of the server
  • immediate_response: A string with the response message to the client (use "false" for no reply)

Example

#PARSER PQL
#RUNQUERY
in = RECEIVE({
          transport = 'HttpServer',
          source = 'source',
          protocol = 'csv',
          datahandler = 'Tuple',
          schema = [['input','String']],
          options= [['immediate_response','ok']]        
        }
      )

Here a client sends a simple csv message with just a single entry. Odysseus does not care about the method (e.g. POST or PUT)




  • No labels