Great you found the issue. I forgot the optional attr which allows your
bundle to start before the first CXF bus is published.
Christian
On 07.07.2016 02:11, Leandro Andrade wrote:
Hi Christian,
I resolve this problem doing a little diference of you suggest. I found a
similar project with it (https://github.com/jbonofre/capgemini).
So, I did:
<reference-list id="busList"
interface="org.apache.cxf.Bus" filter="(cxf.bus.id=*)"
availability="optional"/>
<bean id="busObj" class="br.ufba.dcc.wiser.fot.storage.MqttCxfController" >
<property name="busList" ref="busList" />
</bean>
To access this object I used camel for execute choiced method.
Thanks a lot.
Regards,
2016-07-06 15:35 GMT-03:00 Leandro Andrade <[email protected]>:
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com