Hi,
I don't think it is possiable to export the CxfEndpoint as an OSGi
service and import it in another bundle, because you can't find a
interface which can help you get all the properties of the CxfEndpoint.
I think you can try to include the configuration of CxfEndpoint in your
another bundle's spring configuration file.
Willem
Salgar, Mehmet (external) wrote:
Hi everybody,
I had succesfully deployed the ReportIncident example of camel in
servicemix osgi environment deployed...
Then I start to experiment it by taking routing elements to another
bundle (called router)....
Now when I start the router bundle it is complaining that it is not able
to find the cxf:bean:xxx that is started up at cxf bundle....
Is not possible to reference beans in camel context that are created in
another bundle.
That would be a pity, I was hoping to create routing bundles and use the
versioning advantages of the osgi to be to deploy and switch on the
runtime new versions....
Or is it possible make it work somehow...
Thx for the answers....
T-Mobile Deutschland GmbH
Aufsichtsrat: Timotheus Hottges (Vorsitzender)
Geschaftsfuhrung: Dr. Georg Polzl (Sprecher), Thomas Berlemann, Thomas
Dannenfeldt, Albert Henn,
Dr. Christian P. Illek, Dr. Bruno Jacobfeuerborn, Dr. Dirk Rohweder
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328