On Wed, Oct 5, 2016 at 8:10 PM, Isuru Udana <[email protected]> wrote:

>
>
> On Wed, Oct 5, 2016 at 8:06 PM, Isuru Haththotuwa <[email protected]> wrote:
>
>> It seems we can't dynamically set min and max values for messageCount of
>> completeCondition.
>>
>> If I omit the min, max response message counts and the timeout, still it
>> aggregates the responses. The defaults are -1 for min and max message
>> counts and 0 for timeout [1]. How does the mediator figure out when to
>> complete the aggregation?
>>
> Similar to Clone and Iterate mediators, RecepientList endpoint set the
> MESSAGE_SEQUENCE before sending the message out, using that Aggregate
> Mediator figure out what's needed to be aggregated.
>
Great! Thanks for the clarifications IsuruU.

>
>> [1]. https://github.com/wso2/wso2-synapse/blob/Apache-Synapse-2.1
>> .5-wso2v2/modules/core/src/main/java/org/apache/synapse/medi
>> ators/eip/aggregator/Aggregate.java#L42
>>
>> On Wed, Oct 5, 2016 at 7:11 AM, Isuru Haththotuwa <[email protected]>
>> wrote:
>>
>>>
>>>
>>> On Wed, Oct 5, 2016 at 7:10 AM, Isuru Haththotuwa <[email protected]>
>>> wrote:
>>>
>>>> Additionally, is it possible to set min and max values for messageCount
>>>> of completeCondition to be dynamically picked, preferably property, etc?
>>>>
>>> Meant to say 'preferably from a msg context property'
>>>
>>>>
>>>> On Mon, Oct 3, 2016 at 9:57 PM, Isuru Haththotuwa <[email protected]>
>>>> wrote:
>>>>
>>>>> Thanks for the info IsuruU and Viraj. Will check this.
>>>>>
>>>>> On Mon, Oct 3, 2016 at 10:03 AM, Viraj Rajaguru <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> On Mon, Oct 3, 2016 at 7:43 AM, Isuru Udana <[email protected]> wrote:
>>>>>>
>>>>>>> Hi Isuru,
>>>>>>>
>>>>>>> By looking at the synapse code of RecipientListEndpoint, I can see
>>>>>>> that there is an option to pick endpoint list dynamically. I am not sure
>>>>>>> whether that is configurable through tooling. You may have a look on 
>>>>>>> that.
>>>>>>>
>>>>>>
>>>>>> ESB Tooling supports RecipientListEndpoint configurations.
>>>>>>
>>>>>> Thanks,
>>>>>> Viraj.
>>>>>>
>>>>>>>
>>>>>>> Please note that I haven't tried it out.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Oct 2, 2016 at 11:12 AM, Isuru Haththotuwa <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Missed the link:
>>>>>>>>
>>>>>>>> [1]. https://docs.wso2.com/display/IntegrationPatterns/Scatter-Ga
>>>>>>>> ther
>>>>>>>>
>>>>>>>> On Sun, Oct 2, 2016 at 11:12 AM, Isuru Haththotuwa <[email protected]
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> Do we support $subject with latest ESB? The use case is as follows:
>>>>>>>>>
>>>>>>>>>    - The endpoints are dynamically picked up during the mediation
>>>>>>>>>    flow (Ex. via a DB query, etc.). The number of endpoints are not 
>>>>>>>>> fixed
>>>>>>>>>    - In the aggregation, need to wait till the all the endpoints
>>>>>>>>>    to which the request were sent returns a response
>>>>>>>>>
>>>>>>>>> In the EIP sample [1], we can achieve the same with a fixed number
>>>>>>>>> of endpoints. Can we do the same with a dynamic number of endpoints?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Thanks and Regards,
>>>>>>>>>
>>>>>>>>> Isuru H.
>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks and Regards,
>>>>>>>>
>>>>>>>> Isuru H.
>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Isuru Udana*
>>>>>>> Technical Lead
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> email: [email protected] cell: +94 77 3791887
>>>>>>> blog: http://mytecheye.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Viraj Rajaguru
>>>>>> Associate Technical Lead
>>>>>> WSO2 Inc. : http://wso2.com
>>>>>>
>>>>>> Mobile: +94 77 3683068
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks and Regards,
>>>>>
>>>>> Isuru H.
>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> +94 716 358 048* <http://wso2.com/>*
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* <http://wso2.com/>*
>>>
>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>
>
> --
> *Isuru Udana*
> Technical Lead
> WSO2 Inc.; http://wso2.com
> email: [email protected] cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to