You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by mohamed <MO...@GMAIL.COM> on 2020/02/10 11:33:21 UTC

Re: [HEADUP] the http-undertow transport

Hi Team,

i'm using cxf-transport-http-undertow, how i can enable http2?

 <httpu:engine-factory bus="cxf" id="kc-security-endpoint">	    
        <httpu:engine port="${rest.port}">
            <httpu:tlsServerParameters>
		      <sec:keyManagers keyPassword="${rest.keypass}">
	                    <sec:keyStore file="etc/bil-account.jks"
	                        password="${rest.storepass}" type="JKS"/>
	                </sec:keyManagers>
		    </httpu:tlsServerParameters>
        </httpu:engine>
    </httpu:engine-factory>
    <camel-cxf:rsServer
        address="https://{{rest.host}}:{{rest.port}}/{{rest.baseurl}}"
        depends-on="kc-security-endpoint" id="restServer"
loggingFeatureEnabled="false"/>

with regards,
Mohamed



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-dev-f569328.html

Re: [HEADUP] the http-undertow transport

Posted by Andriy Redko <dr...@gmail.com>.
Hi Mohamed,

If I am not mistaken, CXF does not provide a way to enable HTTP/2 support for Undertow at 
the moment (and in general, does not support HTTP/2 well, [1]), but it is on the roadmap 
for sure. Thank you.

[1] https://issues.apache.org/jira/browse/CXF-6349

Best Regards,
    Andriy Redko

Monday, February 10, 2020, 6:33:21 AM, you wrote:

m> Hi Team,

m> i'm using cxf-transport-http-undertow, how i can enable http2?

m>  <httpu:engine-factory bus="cxf" id="kc-security-endpoint">         
m>         <httpu:engine port="${rest.port}">
m>             <httpu:tlsServerParameters>
m>                       <sec:keyManagers keyPassword="${rest.keypass}">
m>                             <sec:keyStore file="etc/bil-account.jks"
m>                                 password="${rest.storepass}" type="JKS"/>
m>                         </sec:keyManagers>
m>                     </httpu:tlsServerParameters>
m>         </httpu:engine>
m>     </httpu:engine-factory>
m>     <camel-cxf:rsServer
m>         address="https://{{rest.host}}:{{rest.port}}/{{rest.baseurl}}"
m>         depends-on="kc-security-endpoint" id="restServer"
m> loggingFeatureEnabled="false"/>

m> with regards,
m> Mohamed



m> --
m> Sent from: http://cxf.547215.n5.nabble.com/cxf-dev-f569328.html