Re: [Dev] [MB] How to show mqtt topics in mb ui management console

2015-05-31 Thread Pumudu Ruhunage
Hi Pamod,

+1 for further discussion on mqtt related security model.
Since amqp and mqtt topics are different from each other, shouldn't we
separate these topics in UI as well ? It will be tricky and complicated to
handle both type of topics in same UI list. Can we use separate partition
for mqtt topics? WDYT?

Thanks,

On Mon, Jun 1, 2015 at 9:53 AM, Pamod Sylvester pa...@wso2.com wrote:

 Hi Pumudu,

 For retain messages IMO we need to show the topics and the messages in it
 separately. Current topic UI would display topics based on non durable
 subscriptions. Which will not list out the messages contained etc.

 Also something to think about is we need to integrate the MQTT client with
 the UI so that users could publish messages from it. Current publish
 message feature is based on a JMS client.

 We could add the topic to the registry after authenticating the subscriber
 connection for a particular topic, the same way we do it for AMQP. Let's
 discuss further on the security implications/model of it. Also a related
 thread you could refer would be [1].

 [1] MB MQTT Tenant Support

 Thanks,
 Pamod

 On Mon, Jun 1, 2015 at 9:21 AM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi,

 Currently mqtt topics are not visible in mb ui management console[1].
 Suggested method to solve this is to call addTopic method in
 TopicManagerAdminService[2]. This will add topic into registry and will be
 accessible through ui.

 Currently when amqp topic received it will get authorize first, and if
 authorizing successful topic will  get added to registry. From registry ui
 gets the topic message list to show in ui. But when mqtt topic received,
 currently this is not happening while getting authorize. Therefore how to
 handle this issue properly?

 Further, there can be mqtt topic messages which have no present routes
 (ex:- retain enabled messages for future subscribers) Should we show these
 messages in ui as well ?


 [1] https://wso2.org/jira/browse/MB-1055
 [2]
 https://github.com/wso2/carbon-commons/blob/master/components/event/org.wso2.carbon.event.admin/src/main/java/org/wso2/carbon/event/admin/internal/TopicManagerAdminService.java

 Regards,
 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://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




-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] How to show mqtt topics in mb ui management console

2015-05-31 Thread Pamod Sylvester
Hi Pumudu,

For retain messages IMO we need to show the topics and the messages in it
separately. Current topic UI would display topics based on non durable
subscriptions. Which will not list out the messages contained etc.

Also something to think about is we need to integrate the MQTT client with
the UI so that users could publish messages from it. Current publish
message feature is based on a JMS client.

We could add the topic to the registry after authenticating the subscriber
connection for a particular topic, the same way we do it for AMQP. Let's
discuss further on the security implications/model of it. Also a related
thread you could refer would be [1].

[1] MB MQTT Tenant Support

Thanks,
Pamod

On Mon, Jun 1, 2015 at 9:21 AM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi,

 Currently mqtt topics are not visible in mb ui management console[1].
 Suggested method to solve this is to call addTopic method in
 TopicManagerAdminService[2]. This will add topic into registry and will be
 accessible through ui.

 Currently when amqp topic received it will get authorize first, and if
 authorizing successful topic will  get added to registry. From registry ui
 gets the topic message list to show in ui. But when mqtt topic received,
 currently this is not happening while getting authorize. Therefore how to
 handle this issue properly?

 Further, there can be mqtt topic messages which have no present routes
 (ex:- retain enabled messages for future subscribers) Should we show these
 messages in ui as well ?


 [1] https://wso2.org/jira/browse/MB-1055
 [2]
 https://github.com/wso2/carbon-commons/blob/master/components/event/org.wso2.carbon.event.admin/src/main/java/org/wso2/carbon/event/admin/internal/TopicManagerAdminService.java

 Regards,
 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://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