Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel 2.14.0 Matrix Params are missing

$
0
0
Hi

This is my first post in the forum, We are using camel 2.14.0 version and
need to proxy the web service. i have posted to configurations below
followed from the camel-proxy-example.

<cxf:rsServer id="rsServer" address="/proxyServer"
loggingFeatureEnabled="true" loggingSizeLimit="20" skipFaultLogging="true" >
<cxf:serviceBeans>
<bean class="com.test.PServerImpl" />
<bean class="com.test.PServerImpl" />
</cxf:serviceBeans>
</cxf:rsServer>

<cxf:rsClient id="rsClient" address="http://localhost:29090/MyServer/"
loggingFeatureEnabled="true" loggingSizeLimit="20" skipFaultLogging="true">
</cxf:rsClient>

<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="cxfrs://bean://rsServer?bindingStyle=SimpleConsumer"/>
<to uri="cxfrs://bean://rsClient"/>
</route>
</camelContext>

But we can see that the Matrix Parameters are completely stripped away in
the CxfRsProducer. I know that if we use SimpleConsumer as the binding
style the matrix param will be sent as header params. But shouldn't the
matrix params part of the URL.

ID: 15
Address:
http://localhost:8001/test/services/proxyServer/boxing;state=Current
Http-Method: GET
Content-Type:
Headers: {Accept=[application/xml], accept-encoding=[gzip, deflate],
accept-language=[en-us], Authorization=[xxxx], connection=[keep-alive],
Content-Length=[0], Content-Type=[null], host=[localhost:8001]}

ID: 16
Address: http://localhost:29090/MyServer/boxing
Http-Method: GET
Content-Type: */*
Headers: {Accept=[application/xml], *state=[Current]*, user-agent=[xxxxxx],
accept-encoding=[gzip, deflate], Content-Length=[0], Authorization=[Bearer
fff8ed5e-5509-4116-8fde-6523b0e60144],
org.apache.cxf.request.uri=[/services/proxyServer/boxing;state=Current],
host=[localhost:8001], connection=[keep-alive], accept-language=[en-us],
org.apache.cxf.message.Message.PATH_INFO=[/boxing],
org.apache.cxf.request.method=[GET], Content-Type=[*/*]}

I have came across similar issue posted in the past. CAMEL-5405 CXF
Transport loses HTTP Matrix parameters
<http://camel.465427.n5.nabble.com/CXFRS-URL-Matrix-Parameters-seemingly-stripped-away-td5714486.html>
But we are using camel 2.14.0 version.

Can somebody help us on resolving this issue ?

Thanks in Advance.
-Kumaran

Viewing all articles
Browse latest Browse all 5648

Trending Articles