Maybe anyone knows how does Apache CXF match HTTP conduits, configured in Spring? I mean, here is the conduit definition:
<http-conf:conduit name="{http://abc.com/wsdl}MyPortHttp.http-conduit">
<http-conf:client Connection="Keep-Alive" MaxRetransmits="1" ReceiveTimeout="180000" />
</http-conf:conduit>
What happens if I omit .http-conduit part? Where is the code of actual matching? My quick search has no effect.
It is done mostly in
org.apache.cxf.transport.http.HTTPTransportFactory#configure(Object, String, String). Then it dispatches toorg.apache.cxf.configuration.spring.ConfigurerImpl.configureBean(String, Object, boolean). If you omit.http-conduitpart, configuration will not be visible for CXF, as it has very simple matching behavior: by wildcard, or by conduit name (org.apache.cxf.transport.http.HTTPConduit.getBeanName()contains hardcoded.http-conduitsuffix).Also, I’ve faced a strange behavior when wildcard conduit overrides port-specific one. Check this issue.