[
https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41443#action_41443
]
Freeman Fang commented on SM-1236:
----------------------------------
apply patch on behalf of Andrea Zoppello
http://svn.apache.org/viewvc?rev=631482&view=rev for 3.3 branch
http://svn.apache.org/viewvc?rev=631483&view=rev for 3.2.2 branch
One small modification
check wsAddressingAsMap == null to avoid NPE in
getCXFAddressingPropertiesFromMap of WSAUtils
Thanks
Freeman
> 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
> Assignee: Freeman Fang
> Fix For: 3.2.2, 3.3
>
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch,
> 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.