You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Andrei Slepchenko <an...@dhousestudio.com> on 2008/10/13 18:07:20 UTC

ServiceMix Bean LifeCycle

Hello!

Can i got access to Component/Bean LifeCycle events, if i use xbean like it:

<?xml version="1.0" encoding="UTF-8"?>
<beans
    xmlns:bean="http://servicemix.apache.org/bean/1.0"
    
xmlns:jf-syswrapper-service-msg-transmitter="http://xxx.services/jf-syswrapper/msg-transmitter">

    <import resource="classpath:jabber-persistent-service.xml" />
    <bean:endpoint 
service="jf-syswrapper-service-msg-transmitter:jf-syswrapper-msg-transmitter" 
endpoint="endpoint_TODOCHANGE" bean="#MessageRouterImpl" />

    <bean id="MessageRouterImpl" 
class="xxx.services.persistent.transmitter.JabberPersistentServiceTransmitter">
        <constructor-arg><ref bean="JMS_BROKER" /></constructor-arg>
        <constructor-arg><ref bean="JMS_QUEUE" /></constructor-arg>
        <constructor-arg><ref bean="JMS_QUEUE_READ_TIMEOUT" 
/></constructor-arg>
        <constructor-arg><ref bean="JABBER_SERVICE_ADDRESS" 
/></constructor-arg>
    </bean>
</beans>



With best regards, Andrei.