You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/12/05 07:14:13 UTC

[jira] [Updated] (CAMEL-8092) cxf:producer Matrix Params are missing

     [ https://issues.apache.org/jira/browse/CAMEL-8092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CAMEL-8092:
--------------------------------
    Affects Version/s: 2.13.3

> cxf:producer Matrix Params are missing
> --------------------------------------
>
>                 Key: CAMEL-8092
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8092
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.13.3, 2.14.0
>         Environment: JDK 8.  Spring,
>            Reporter: Kumarann
>            Assignee: Willem Jiang
>             Fix For: 2.13.4, 2.14.1, 2.15.0
>
>         Attachments: CxfRsProducer.java
>
>
> In cxfrs component the producer strips away the matrix param.
> Steps to reproduce:
> Web service proxying configuration (camel-proxy-example). 
> <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 CxfRsProducer.  The 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=[xxxxx], 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  But we are using camel 2.14.0 version. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)