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

Murali Gunasekaran updated CXF-3206:
------------------------------------

    Attachment: TestPolicyEngineImpl-context.xml
                TestPolicyEngineImpl.java

Attached simple test code that will highlight the problem

> PolicyEngineImpl initializes bus interceptors twice
> ---------------------------------------------------
>
>                 Key: CXF-3206
>                 URL: https://issues.apache.org/jira/browse/CXF-3206
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.3.1
>            Reporter: Murali Gunasekaran
>         Attachments: TestPolicyEngineImpl-context.xml, 
> TestPolicyEngineImpl.java
>
>
> PolicyEngineImpl initializes the bus interceptors twice - once from the 
> constructor init (when 'cxf' bus is passed) and the second time as part of 
> setBus() call due to @Resource annotation causing Spring to call it resulting 
> in the PolicyOut* and PolicyIn* interceptors to be added twice.

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

Reply via email to