[
https://issues.apache.org/jira/browse/CXF-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
willem Jiang updated CXF-510:
-----------------------------
Description:
Current SpringBusFactory use the DEFAULT_BUS_ID (cxf) to getBean from spring
application context.
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.
was:Current SpringBusFactory use the DEFAULT_BUS_ID to
> SpringBusFactory only use DEFAULT_BUS_ID to create bus from context
> -------------------------------------------------------------------
>
> Key: CXF-510
> URL: https://issues.apache.org/jira/browse/CXF-510
> Project: CXF
> Issue Type: Bug
> Components: Bus
> Affects Versions: 2.0-RC
> Reporter: willem Jiang
> Fix For: 2.0-RC
>
>
> Current SpringBusFactory use the DEFAULT_BUS_ID (cxf) to getBean from spring
> application context.
> 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.