Using Camel servlet component with CXF port and configuring SSL as well.
Issue
- We need help configuring camel-servlet component on a https port (this will same port as CXF endpoint where we have already configured jetty for mutual auth).
- We have the camel servlet component configured as an osgi service. Please refer to attached servlet-blueprint.xml.
- Multiple integration's will get a reference to this component if they need http consumer end points (non CXF).
<!-- Get reference to AI servlet-->
<reference id="servletref" filter="(servlet-name=CamelServlet)" ext:proxy-method="classes" interface="org.apache.camel.http.common.CamelServlet">
<reference-listener ref="httpRegistry" bind-method="register" unbind-method="unregister" /> </reference>
<bean id="httpRegistry" class="org.apache.camel.component.servlet.DefaultHttpRegistry" />
<bean id="servlet" class="org.apache.camel.component.servlet.ServletComponent"> <property name="httpRegistry" ref="httpRegistry" />
</bean>
- The servlet component by default get binds to 8181 port. Is there a way to configure it to use 8182 port (https/secured port that was started while deploying a cxf web service)?
Environment
- Red Hat JBoss Fuse
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.