cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murali Gunasekaran (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-3206) PolicyEngineImpl initializes bus interceptors twice
Date Mon, 20 Dec 2010 05:58:02 GMT

     [ 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.


Mime
View raw message