camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-8092) cxf:producer Matrix Params are missing
Date Sun, 30 Nov 2014 13:59:12 GMT

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

Willem Jiang reassigned CAMEL-8092:
-----------------------------------

    Assignee: Willem Jiang

> 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.14.0
>         Environment: JDK 8.  Spring,
>            Reporter: Kumarann
>            Assignee: Willem Jiang
>         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)

Mime
View raw message