I am trying to get two mule projects to run at the same time that have similar paths, so that we can group our calls together (example http://domain.com/foo/service1 http://domain.com/foo/service2)
As a POC I have two projects, both that listen on localhost port 80.
project1 has a path of endpoint/v1
project2 has a path of endpoint/v2
Both deploy successfully to my mule server, but only project1’s endpoint returns anything.
Any ideas on how to get this to work correctly?
That is because there is only one socket actually listening on that port (80).
If you want to have more than one path, you need to group the endpoints together in the same application, and this application can act as a proxy and call the ones with the actual logic.