tag:blogger.com,1999:blog-8779314896221625511.post973846622463688711..comments2024-03-29T03:20:35.686-07:00Comments on Stash's Seriously Named Computing Blog: Mule Example: Request Chaining and Response AggregationJohn Prystashhttp://www.blogger.com/profile/16707064951271867131noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8779314896221625511.post-21648398662323085852010-06-10T07:43:34.824-07:002010-06-10T07:43:34.824-07:00Hello, you should be able to override the EventCor...Hello, you should be able to override the EventCorrelatorCallback.createEventGroup(MuleEvent event, Object id) method where you can set the expectedSize property on the EventGroup.<br /><br />Hope this helps a bit.John Prystashhttps://www.blogger.com/profile/16707064951271867131noreply@blogger.comtag:blogger.com,1999:blog-8779314896221625511.post-83962067036566161492010-06-10T07:07:19.230-07:002010-06-10T07:07:19.230-07:00Hi is it possible to modify to have a finite volum...Hi is it possible to modify to have a finite volume aggregator. An aggregator that just aggregates says 2000 messages and sends them.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8779314896221625511.post-51630202153254184592010-03-25T13:10:22.134-07:002010-03-25T13:10:22.134-07:00Hello,
We are trying to call a service running on...Hello,<br /><br />We are trying to call a service running on 2 servers, aggregate the response. We are unable to to the aggregation , any help is much appreciated.<br /><br />Here is the config file<br /><br /><br /><br /><br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br /> <br /> <br /> <br /><br /><br /><br />The error we get is <br />org.mule.api.routing.ResponseTimeoutException: Response timed out (10000ms) waiting for message response id "bfd612ac-3849-11df-87f5-c583c39e24b1" or this action was interrupted. Failed to route event via endpoint: null. Message payload is of type: NullPayload<br /> at org.mule.routing.EventCorrelator.getResponse(EventCorrelator.java:500)<br /> at org.mule.routing.EventCorrelator.getResponse(EventCorrelator.java:403)<br /> at org.mule.routing.response.AbstractResponseAggregator.getResponse(serviceOverrides=null}, transformer=[], name='endpoint.vm.service.request', properties={}, transactionConfig=Transaction{factory=null, action=NEVER, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8779314896221625511.post-63192170091341451902010-03-17T06:10:10.999-07:002010-03-17T06:10:10.999-07:00I haven't seen an email (could very well have ...I haven't seen an email (could very well have simply missed it), but I was thinking if the config was listed here it might be more likely to help others in a similar situation.John Prystashhttps://www.blogger.com/profile/16707064951271867131noreply@blogger.comtag:blogger.com,1999:blog-8779314896221625511.post-74797815863364547112010-03-16T07:28:51.646-07:002010-03-16T07:28:51.646-07:00I sent you an email with config.I sent you an email with config.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8779314896221625511.post-66822229423338248382010-03-16T05:47:14.214-07:002010-03-16T05:47:14.214-07:00Unfortunately I can't see your config (was the...Unfortunately I can't see your config (was the XML escaped in your comment?), but I don't think multi-casting routers are to be used when you're expecting a response, so setting synchronous to true might not be the right approach here. Hence, multi-casting routers requiring an async-reply when a response is expected.<br /><br />The router is likely receiving the responses from the endpoints synchronously and routing them again. <br /><br />Might I recommend you check out the models here and see which one yours fits: http://www.infoq.com/articles/mule-message-routingJohn Prystashhttps://www.blogger.com/profile/16707064951271867131noreply@blogger.comtag:blogger.com,1999:blog-8779314896221625511.post-22759398081256089852010-03-16T05:14:44.664-07:002010-03-16T05:14:44.664-07:00I have an issue and was hopping you can help. I de...I have an issue and was hopping you can help. I defined multicasting-router like so:<br /><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /><br />both outbound-endpoints are executed twice for some reason. If I comment one out or make one async. they work as expected.Anonymousnoreply@blogger.com