Hi,

No you can't really "deploy" into Apache HTTP server. But you can setup a HTTP server in front of the jetty embedded in ServiceMix. In this case, Apache HTTP server acts as a proxy.

For example, in ServiceMix, you have deployed a HTTP component based SU with the following xbean.xml:

<http:consumer uri="http://0.0.0.0:8192/myService/test"; .../>

For example, you can define a VHost in Apache HTTP server proxying to ServiceMix:

NameVirtualHost *:80
<VirtualHost *:80>
  ServerName my.service.mix.host

  ProxyPass /myService/test http://localhost:8192/myService/test
  ProxyPassReverse /myService/test http://localhost:8192/myService/test
</VirtualHost>

Regards
JB

obor1 wrote:
The http binding component by default uses jetty as its Http server. Can this
binding component be deployed on Apache HTTP server ?
Or how to connect an already exists Apache Server with the embedded jetty. I´m trying to have jetty behind Apache Server and the requests to the HTTP
binding component will be received by Apache Server and then  forwarded to
Jetty embedded server.
Could it be possible?

Thank you.

Reply via email to