Knotx / knotx

Knot.x is a highly-efficient and scalable integration framework designed to build backend APIs
https://knotx.io
Apache License 2.0
126 stars 26 forks source link

Non-HTTP API support. #472

Open tomaszmichalak opened 5 years ago

tomaszmichalak commented 5 years ago

The open API is designed for HTTP-based requests. Knot.x should be adapted to support two-way communication via websites.

Describe the solution you'd like The proposition is to add a customRoutes configuration similar to the Open API one.

httpRoutingOperations = { }
customRoutes = [ ROUTE, ROUTE ]

where ROUTE would be:

{
  "path": "/eventbus/",
  "handlers": [ ... ]
}

Describe alternatives you've considered Run another Vert.x server on a different port.

Additional context Add any other context or screenshots about the feature request here.