cHttp as server how to make it listen on default port 8040

One Star

cHttp as server how to make it listen on default port 8040

Hi,
I want to create a mediation route which start with a cHttp component ( as server) so that my route will be triggered by http call.
Is there a way (or a specific syntax for the uri) to make it listen on default jetty port 8040?
The aim is to avoid the multiplicity of ports listening on my container.
Employee

Re: cHttp as server how to make it listen on default port 8040

Hi,
cHttp has an option Client or Server. You need to select Server and put uri in the uri field. For example: http://localhost:8040/data
Thanks,
Yuri
One Star

Re: cHttp as server how to make it listen on default port 8040

In this case cHttp override existing endpoint in Runtime container. Relative URI supported by cCXFRS component.