Hi Maatari,
normally you would initialize the bus inside the spring context using
the import
<import resource="classpath:META-INF/cxf/cxf.xml" />
I first thought you perhaps would not use spring but in your example
there was a SpringBusFactory. So I do not really know why the one that
did that code initialized it himself. Perhaps you can provide more context.
Best regards
Christian
Am 13.01.2011 15:45, schrieb Maatari:
I mean: Why do we have to initialize the bus separately? what could be the
advantage or implication of doing such a thing. Isn't automatically create
without the statement that sets it?
Usually in code sample found in the net, those two lines do not appear,
namely the lines with the biding and the outbus.
Can someone gives me some hints on that ?
Best,
M
--
Christian Schneider
CXF and Camel Architect
Tel.:
Fax: +49 228 763776-99
Mobil:
[email protected]
SOPERA - The Application Integration
Division of Talend.
SOPERA GmbH - Open Source SOA
Subscription Services, Support& Maintenance, Training,
Technical SOA Consulting& Customized Development
www.sopera.de
SOPERA GmbH · Geschäftsführer: Dr. Ricco Deutscher, Harald Weimer
Standort Bonn: Servatiusstrasse 53 · 53175 Bonn · Handelsregister: Bonn HRB
15336
Standort München: Hohenlindnerstraße 11b · 85622 München
This e-mail message and any attachment are intended exclusively for the named
addressee. They may contain confidential information which may also be
protected by professional secrecy. Unless you are the named addressee (or
authorised to receive or the addressee) you may not copy or use this message or
any attachment or disclose the contents to anyone else. If this e-mail was sent
to you by mistake please notify the sender immediately and delete this e-mail.