[
https://issues.apache.org/jira/browse/STRATOS-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Imesh Gunaratne updated STRATOS-967:
------------------------------------
Description:
With the introduction of MQTT in the messaging component all the message
listeners are directly refering to MQTT callback listeners. This might not be a
good design and will be difficult to maintain.
In addition in the above modification the ActiveMQ AMQP implementation has been
used for creating TextMessages from the MQTT messages since the queues were
refering TextMessage class. We might need to introduce a domain class for
managing messages in messaging component and remove the ActiveMQ dependency.
was:
With the introduction of MQTT in the messaging component all the message
listeners are directly refering to MQTT callback listeners. This might not be a
good design and will be difficult to maintain.
In addition in the above modification the ActiveMQ library has been used for
creating TextMessages from the MQTT messages. We might need to introduce a
domain class for managing messages in messaging component and remove the
ActiveMQ dependency.
> Message Listeners are Directly Coupled with MQTT Library
> --------------------------------------------------------
>
> Key: STRATOS-967
> URL: https://issues.apache.org/jira/browse/STRATOS-967
> Project: Stratos
> Issue Type: Bug
> Affects Versions: 4.1.0 M4
> Reporter: Imesh Gunaratne
> Assignee: Imesh Gunaratne
> Fix For: 4.1.0 M5
>
>
> With the introduction of MQTT in the messaging component all the message
> listeners are directly refering to MQTT callback listeners. This might not be
> a good design and will be difficult to maintain.
> In addition in the above modification the ActiveMQ AMQP implementation has
> been used for creating TextMessages from the MQTT messages since the queues
> were refering TextMessage class. We might need to introduce a domain class
> for managing messages in messaging component and remove the ActiveMQ
> dependency.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)