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 <[email protected]> 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
> [email protected]
> 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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to