Re: [Dev] [MB] Console allows the user to delete a queue when publishing

2015-06-14 Thread Ramith Jayasinghe
This is due to how we process any-inbound events ( queue add/delete,
recieve messages etc).
 Yes, this is a edge case (- where user deletes a queue which is very
active) therefore lets create a jira.

regards
Ramith

On Mon, Jun 15, 2015 at 10:09 AM, Pamod Sylvester pa...@wso2.com wrote:

 Hi Jason et all,

 We restrict queue deletion if there're active subscribers for it. The
 messages published will not be accepted if the queue was deleted. The
 filtering is done on acceptance/rejection at Message Pre Processing stage.

 It seems that when the delete event is called some of the messages have
 passed the pre processing stage and were accepted in. Resulting in noticing
 messages after the queue is re added.

 @Ramith and team, should we introduce another filer before adding the
 messages to slots, db ? thoughts ?

 Thanks,
 Pamod

 On Mon, Jun 15, 2015 at 9:22 AM, Jason De Silva jas...@wso2.com wrote:

 Hi All,

 In MB 3.0.0 Alpha pack I observed that while a publisher is publishing
 messages to a queue it is possible to delete the queue from the console and
 a popup shows that it is deleted successfully. After couple of refreshes
 the queue is not shown in console.
 Later if the same queue is re-added via the console the queue will have
 some messages shown, is it valid?

 Regards,
 Jason

 --
 Jason De Silva
 *Software Engineer - QA*
 Mobile: +94 (0) 772 097 678
 Email: jas...@wso2.com
 WSO2 Inc. www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Pamod Sylvester *

 *WSO2 Inc.; http://wso2.com http://wso2.com*
 cell: +94 77 7779495

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 777542851
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Console allows the user to delete a queue when publishing

2015-06-14 Thread Jason De Silva
Hi Pamod / Ramith,

Thank you for the explanation. I have created a jira.
https://wso2.org/jira/browse/MB-1075

Regards,
Jason

On Mon, Jun 15, 2015 at 11:01 AM, Ramith Jayasinghe ram...@wso2.com wrote:

 This is due to how we process any-inbound events ( queue add/delete,
 recieve messages etc).
  Yes, this is a edge case (- where user deletes a queue which is very
 active) therefore lets create a jira.

 regards
 Ramith

 On Mon, Jun 15, 2015 at 10:09 AM, Pamod Sylvester pa...@wso2.com wrote:

 Hi Jason et all,

 We restrict queue deletion if there're active subscribers for it. The
 messages published will not be accepted if the queue was deleted. The
 filtering is done on acceptance/rejection at Message Pre Processing stage.

 It seems that when the delete event is called some of the messages have
 passed the pre processing stage and were accepted in. Resulting in noticing
 messages after the queue is re added.

 @Ramith and team, should we introduce another filer before adding the
 messages to slots, db ? thoughts ?

 Thanks,
 Pamod

 On Mon, Jun 15, 2015 at 9:22 AM, Jason De Silva jas...@wso2.com wrote:

 Hi All,

 In MB 3.0.0 Alpha pack I observed that while a publisher is publishing
 messages to a queue it is possible to delete the queue from the console and
 a popup shows that it is deleted successfully. After couple of refreshes
 the queue is not shown in console.
 Later if the same queue is re-added via the console the queue will have
 some messages shown, is it valid?

 Regards,
 Jason

 --
 Jason De Silva
 *Software Engineer - QA*
 Mobile: +94 (0) 772 097 678
 Email: jas...@wso2.com
 WSO2 Inc. www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Pamod Sylvester *

 *WSO2 Inc.; http://wso2.com http://wso2.com*
 cell: +94 77 7779495

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 777542851




-- 
Jason De Silva
*Software Engineer - QA*
Mobile: +94 (0) 772 097 678
Email: jas...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Console allows the user to delete a queue when publishing

2015-06-14 Thread Pamod Sylvester
Hi Jason et all,

We restrict queue deletion if there're active subscribers for it. The
messages published will not be accepted if the queue was deleted. The
filtering is done on acceptance/rejection at Message Pre Processing stage.

It seems that when the delete event is called some of the messages have
passed the pre processing stage and were accepted in. Resulting in noticing
messages after the queue is re added.

@Ramith and team, should we introduce another filer before adding the
messages to slots, db ? thoughts ?

Thanks,
Pamod

On Mon, Jun 15, 2015 at 9:22 AM, Jason De Silva jas...@wso2.com wrote:

 Hi All,

 In MB 3.0.0 Alpha pack I observed that while a publisher is publishing
 messages to a queue it is possible to delete the queue from the console and
 a popup shows that it is deleted successfully. After couple of refreshes
 the queue is not shown in console.
 Later if the same queue is re-added via the console the queue will have
 some messages shown, is it valid?

 Regards,
 Jason

 --
 Jason De Silva
 *Software Engineer - QA*
 Mobile: +94 (0) 772 097 678
 Email: jas...@wso2.com
 WSO2 Inc. www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Pamod Sylvester *

*WSO2 Inc.; http://wso2.com http://wso2.com*
cell: +94 77 7779495
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev