-
1. Aggregator not invoking.
kconner Mar 17, 2011 5:58 AM (in response to madhucm)Can you provide more information? Which server? How are you defining your services?
-
2. Aggregator not invoking.
madhucm Mar 17, 2011 7:33 AM (in response to kconner)Kevin Conner wrote:
Can you provide more information? Which server? How are you defining your services?
Hi kevin,
Please find service below:
<services>
<service category="MyCategory" description="MyServiceRouter" invmScope="GLOBAL" name="MyServiceRouter">
<listeners>
<http-gateway name="MyHttp" />
</listeners>
<actions inXsd="schema/input.xsd" mep="OneWay" outXsd="schema/output.xsd" validate="false" webservice="true">
<action class="org.jboss.soa.esb.actions.SystemPrintln" name="printRouter">
<property name="message" value="Starting Router" />
</action>
<action class="org.jboss.soa.esb.actions.StaticRouter" name="routeAction">
<property name="destinations">
<route-to service-category="NAA" service-name="NAAService" />
<route-to service-category="NBU" service-name="NBUService" />
</property>
</action>
</actions>
</service>
<service category="NAA" description="MyDesc" name="NAAService" invmScope="GLOBAL">
<actions mep="OneWay">
<action class="org.jboss.soa.esb.samples.quickstart.aggregator.TestAction" name="assembleT" process="NAAMethod" />
<action name="routeToAggregator" class="org.jboss.soa.esb.actions.StaticRouter">
<property name="destinations">
<route-to destination-name="aggregatorService" service-category="Aggregation" service-name="OrderAggregrator" />
</property>
</action>
</actions>
</service>
<service category="NBU" description="MyD" name="NBUService" invmScope="GLOBAL">
<actions mep="OneWay">
<action class="org.jboss.soa.esb.samples.quickstart.aggregator.TestAction" name="assembleTF" process="NBUMethod" />
<action name="routeToAggregator" class="org.jboss.soa.esb.actions.StaticRouter">
<property name="destinations">
<route-to destination-name="aggregatorService" service-category="Aggregation" service-name="OrderAggregrator" />
</property>
</action>
</actions>
</service>
<service category="Aggregation" description="Aggregates messages" name="OrderAggregrator" invmScope="GLOBAL">
<actions mep="RequestResponse">
<action class="org.jboss.soa.esb.actions.Aggregator" name="Aggregator">
</action>
<action
class="org.jboss.soa.esb.samples.quickstart.aggregator.AggregatedMessageAssembler"
name="assemble" />
<action class="org.jboss.soa.esb.actions.SystemPrintln" name="print-after">
<property name="message" value="An aggregated message was created" />
</action>
</actions>
</service>
</services>
Thanks,
Madhu CM
-
3. Aggregator not invoking.
tcunning Mar 17, 2011 7:55 AM (in response to madhucm)It looks to me that the aggregator is being invoked, but you are simply passing the same message to two services and back to the aggregator - so it gets two messages with the same message ID.
-
4. Aggregator not invoking.
madhucm Mar 17, 2011 8:02 AM (in response to tcunning)Tom Cunningham wrote:
It looks to me that the aggregator is being invoked, but you are simply passing the same message to two services and back to the aggregator - so it gets two messages with the same message ID.
Hi tom,
Yes i am splitting same message to two different service . My requirenment is to use same message for two different service.
But how to overcome this. ?
Thanks,
Madhu CM
-
5. Aggregator not invoking.
kconner Mar 17, 2011 8:06 AM (in response to madhucm)The version of your server is important, can you provide this?
-
6. Re: Aggregator not invoking.
madhucm Mar 17, 2011 11:04 PM (in response to kconner)Its jboss-soa-p.5.0.0
Thanks,
Madhu CM