You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/02/22 01:20:14 UTC

[jira] Commented: (SM-1236) CXF BC should be able to manage WSA Headers as a Map of Strings

    [ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41358#action_41358 ] 

Guillaume Nodet commented on SM-1236:
-------------------------------------

Coud you please provide your patch using
   svn diff
It is much easier to review and apply in case there is some conflict because the code has evolved.

> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
>                 Key: SM-1236
>                 URL: https://issues.apache.org/activemq/browse/SM-1236
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>            Reporter: Andrea Zoppello
>         Attachments: CxfBcConsumer.java, JbiInInterceptor.java, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers. 
> So if  in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in  a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.