We have some messages arriving at our ESB as a simple HTTP POST and return an HTTP Status code 202-Accepted, or a 500-Internal Server Erorr if the message was invalid or a processing error occurred. We just read the data stream and process it, and optionally return an HTTP data stream.
Can Sonic act as a simple HTTP Endpoint and process the incoming data stream, and return a response Status Code and Data Stream? I had a look in thedocumentation and couldn't see how to do it.
If possible we'll need to do it through the same Jetty server as Sonic Connect because we'll want to use the same Port number.
Thanks
Steve
Yes, you can create SC REST Web Service. HTTP status code to be returned to client can be assigned by setting StatusCode header in ESB Message.