Hi,
I did a custom namespace for my project.
within this project I want to declare that kind of things :
or in a chain :Code:<mynamespace:rest-service input-channel="chan1" />
which would be translated to spring integration xml as :Code:<int:chain id="mychainid" input-channel="in" output-channel=out"> <mynamespace:rest-service /> </int:chain>
So I would like to know what to put in the "BeanDefinitionParser" to be able to register the service-activator. I checked the sources for Service Activator when xml is parsed but .. I don't understand what happens with the BeanDefinitionBuilder ... As far as I understood, it uses a bean factory but ... I can't figure out how to do it myself and to be sure that it will also work in a chain.Code:<int:service-activator ref="abeanreference" method="theMethodToCall" /> ... <bean id="abeanreference" class="the.rest.service.caller.implementation" />
I would like some tips or advices about that ... what should I do ? and is this a good practice or not ?


Reply With Quote