camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Steppacher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6445) XML DSL - removeHeaders does not work as expected if more then one excludePatter is speficied
Date Thu, 13 Jun 2013 21:21:20 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-6445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682762#comment-13682762
] 

Ralf Steppacher commented on CAMEL-6445:
----------------------------------------

Well, if it is just a documentation bug, even better. Thanks for the clarification.
                
> XML DSL - removeHeaders does not work as expected if more then one excludePatter is speficied
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6445
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6445
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.3
>            Reporter: Ralf Steppacher
>            Assignee: Christian Müller
>
> To reproduce put the following in a route:
> <camel:setHeader headerName="header1">
> <camel:constant>1</camel:constant>
> </camel:setHeader>
> <camel:setHeader headerName="header2">
> <camel:constant>2</camel:constant>
> </camel:setHeader>
> <camel:setHeader headerName="header3">
> <camel:constant>3</camel:constant>
> </camel:setHeader>
> <camel:removeHeaders pattern="*" excludePattern="header1,header2" />
> Expected behavior: "header3" should be gone.
> Actual behavior: All headers are gone.
> Specifying only one exclude pattern works. I.e. 
> <camel:removeHeaders pattern="*" excludePattern="header1" />
> removes headers "header2" and "header3" but leaves "header1".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message