Re: [Dev] Shouldn't we allow to reuse same ID to create durable subscriptions on different topics
Hi Pamod, Yes, Simply we should implement and support following two on here 1. Allow to use same subscription ID among different topics. 2. Allow to create many subscriptions to a single topic with a single ID (Should have possiblity to enable and disable this feature) On Thu, Feb 5, 2015 at 7:59 PM, Pamod Sylvester pa...@wso2.com wrote: Hi Asanka, For different topics ideally yes it should be allowed IMO. Add to that even for the same topic based on the JMS 2.0 spec, subscriptions with the same topic should be allowed. maybe a suggestion could be to make this behaviour optional. WDYT? Thanks, Pamod On Thursday, February 5, 2015, Asanka Vithanage asan...@wso2.com wrote: Hi All, AFFAIR even in MB 220, we didn't allow to create durable subscriptions with same ID for two topics.I observed same in MB 330 M2 pack as well. Basically with current implementation at a given time, MB cluster could have only an one subscriber with a given ID (irrespective of subscribed topic). But I believe users should have the ability to create durable subscriptions with a single ID to different topics. AFAIU current implementation restricts many use cases.For Ex. A company wants there employees to use their EmpID to subscribe on different company news channels. So shouldn't we allow to reuse same ID to create durable subscriptions on different topics? WDYT? -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com WSO2 Inc. www.wso2.com -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com WSO2 Inc. www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Shouldn't we allow to reuse same ID to create durable subscriptions on different topics
Hi, We have a solution for the second point. That is something we done on a customer request. There is a configuration in broker.xml which you can enable if you need to have multiple subscribers from same client Id. Not sure how it would affect the first point though. Thanks On Friday, February 6, 2015, Asanka Vithanage asan...@wso2.com wrote: Hi Pamod, Yes, Simply we should implement and support following two on here 1. Allow to use same subscription ID among different topics. 2. Allow to create many subscriptions to a single topic with a single ID (Should have possiblity to enable and disable this feature) On Thu, Feb 5, 2015 at 7:59 PM, Pamod Sylvester pa...@wso2.com javascript:_e(%7B%7D,'cvml','pa...@wso2.com'); wrote: Hi Asanka, For different topics ideally yes it should be allowed IMO. Add to that even for the same topic based on the JMS 2.0 spec, subscriptions with the same topic should be allowed. maybe a suggestion could be to make this behaviour optional. WDYT? Thanks, Pamod On Thursday, February 5, 2015, Asanka Vithanage asan...@wso2.com javascript:_e(%7B%7D,'cvml','asan...@wso2.com'); wrote: Hi All, AFFAIR even in MB 220, we didn't allow to create durable subscriptions with same ID for two topics.I observed same in MB 330 M2 pack as well. Basically with current implementation at a given time, MB cluster could have only an one subscriber with a given ID (irrespective of subscribed topic). But I believe users should have the ability to create durable subscriptions with a single ID to different topics. AFAIU current implementation restricts many use cases.For Ex. A company wants there employees to use their EmpID to subscribe on different company news channels. So shouldn't we allow to reuse same ID to create durable subscriptions on different topics? WDYT? -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com WSO2 Inc. www.wso2.com -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com javascript:_e(%7B%7D,'cvml','pa...@wso2.com'); cell: +94 77 7779495 -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com javascript:_e(%7B%7D,'cvml','asan...@wso2.com'); WSO2 Inc. www.wso2.com -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Shouldn't we allow to reuse same ID to create durable subscriptions on different topics
Hi All, AFFAIR even in MB 220, we didn't allow to create durable subscriptions with same ID for two topics.I observed same in MB 330 M2 pack as well. Basically with current implementation at a given time, MB cluster could have only an one subscriber with a given ID (irrespective of subscribed topic). But I believe users should have the ability to create durable subscriptions with a single ID to different topics. AFAIU current implementation restricts many use cases.For Ex. A company wants there employees to use their EmpID to subscribe on different company news channels. So shouldn't we allow to reuse same ID to create durable subscriptions on different topics? WDYT? -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com WSO2 Inc. www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Shouldn't we allow to reuse same ID to create durable subscriptions on different topics
Hi Asanka, For different topics ideally yes it should be allowed IMO. Add to that even for the same topic based on the JMS 2.0 spec, subscriptions with the same topic should be allowed. maybe a suggestion could be to make this behaviour optional. WDYT? Thanks, Pamod On Thursday, February 5, 2015, Asanka Vithanage asan...@wso2.com wrote: Hi All, AFFAIR even in MB 220, we didn't allow to create durable subscriptions with same ID for two topics.I observed same in MB 330 M2 pack as well. Basically with current implementation at a given time, MB cluster could have only an one subscriber with a given ID (irrespective of subscribed topic). But I believe users should have the ability to create durable subscriptions with a single ID to different topics. AFAIU current implementation restricts many use cases.For Ex. A company wants there employees to use their EmpID to subscribe on different company news channels. So shouldn't we allow to reuse same ID to create durable subscriptions on different topics? WDYT? -- Asanka Vithanage Senior Software Engineer -QA Mobile: +94 0716286708 Email: asan...@wso2.com javascript:_e(%7B%7D,'cvml','asan...@wso2.com'); WSO2 Inc. www.wso2.com -- *Pamod Sylvester * *Senior Software Engineer * Integration Technologies Team, WSO2 Inc.; http://wso2.com email: pa...@wso2.com cell: +94 77 7779495 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev