Spring silently creates names busses when needed
------------------------------------------------

                 Key: CXF-3951
                 URL: https://issues.apache.org/jira/browse/CXF-3951
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.5
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp
             Fix For: 2.5.1



If using a bus="foo" type attribute on most of the spring beans in cxf, if a 
"foo" bus isn't in the context, it will silently create a foo bus.   This can 
cause a lot of confusion if "foo" is a typo or something as expected bus config 
may not get picked up, etc...  The only bus that should always be created and 
available is the default bus ("cxf").  All other value should be explicit and 
throw exceptions if there isn't a matching <cxf:bus name="foo".../> definition 
to define it.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to