spring integration - Implement parallel process in service activator -


in spring integration application flow

splitter--routter--service activator(2 activators) -- aggregator

in ,will 2 aggregators work parallelly?? configuration file

       <!-- splitter config -->  <int:splitter input-channel="reqchannel" ref="splitter" method="dosplit" output-channel="routerinput"/>  <!-- router config -->   <int:router input-channel="routerinput" expression="payload.isforact1 ? 'activator1' : 'activator2'"/>   <!-- service activator 1 cinfig-->   <int:service-activator input-channel="activator1" ref="processactivator"                      method="doprocess()" output-channel="processedchannal"/>  <!-- service activator 2 cinfig -->   <int:service-activator input-channel="activator2" ref="processactivator"                      method="doprocess()" output-channel="processedchannal"/>  <!-- aggregator config  -->   <int:aggregator input-channel="processedchannal" ref="agrtr"   method="makeaggregate" />  

do need additional configuration ececute both service activators parallalley??

please help..

you can make channel routerinput executorchannel see executorchannel , configuring executorchannel.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -