I have 2 ListenHttp processor listening on the same port, with two different paths and I get the following error:
ListenHTTP[id=ed7a45f5-4c4e-485a-a53d-8178649ec1e0] ListenHTTP[id=ed7a45f5-4c4e-485a-a53d-8178649ec1e0] failed to invoke @OnScheduled method due to java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.; processor will not be scheduled to run for 30000 milliseconds: java.lang.RuntimeException: Failed while executing one of processor's OnScheduled task.
You cannot have two different ListenHttp processors listening on the same port. Also, ListenHttp allows only one path. You can use HandleHttpRequest followed by a RouteOnAttribute and use the http.request.url attribute to route to your path.