My Mule application has an HTTP listener. I would like to receive ALL incoming messages and then route the message based on the path for e.g.
I have created the listener with the following properties:
host: www.myhost.com
port: 8080
path: /
I have then added a choice router that I would like to interrogate the incoming path and route the message based on the path ... for e.g.
http://www.myhost.com:8080/path1
http://www.myhost.com:8080/path2
http://www.myhost.com:8080/path3
At the moment when I run the application with no path it works ... but when I run it with one of the paths it fails with error ... "no listener endpoint configured for /path3"
Is there a way to configure the Mule HTTP listener to accept any path?
Thanks
path:/*
and separate flows for each resource. Next you can flow-ref to your choice as you please, using some flags. – Thinker-101