cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "willem Jiang (JIRA)" <>
Subject [jira] Resolved: (CXF-510) SpringBusFactory only use DEFAULT_BUS_ID to create bus from context
Date Wed, 25 Jul 2007 05:50:31 GMT


willem Jiang resolved CXF-510.

    Resolution: Fixed

Current solution for the  CXFBusImpl's id is not set is that  bus.getID will return DEFAULT_BUS_ID
+ Integer.toString(this.hashCode()) as it's id.

If we need to set the bus id for the bus which created by spring , we could use 

<bean id="bus1" class="org.apache.cxf.bus.CXFBusImpl" init-method="initialize">
 <property name="id"  value= "bus1" />

to set the bus id.

So I closed it issue.

> SpringBusFactory only use DEFAULT_BUS_ID to create bus from context
> -------------------------------------------------------------------
>                 Key: CXF-510
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.0-RC
>            Reporter: willem Jiang
>            Assignee: willem Jiang
>             Fix For: 2.0.1
> Current SpringBusFactory use the DEFAULT_BUS_ID (cxf) to getBean from spring application
> It dose not support these two usecase:
> User want to create bus with the name other than cxf
> User wants to configure two different bus in the same spring configuration file with
different busID.
> We need to add the busID arguement in createBus for these two usecase. 
> BTW, 
> SprintBusFactory does not set the busId. 
> When the user calls bus.getID() , it will return null if the bus is created by the SpringBusFactory.

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

View raw message