Hi Mohan, We have enabled the MQTT transport in Embedded ActiveMQ server started by Test Framework. Now you can use mqtt transport in integration test. This feature is available in test-automation-framework 4.3.2-SNAPSHOT.
Transport is enabled on mqtt://localhost:1883 Use below code to start the server with MQTT transport and TCP transport JMSBrokerController activeMqBroker = new JMSBrokerController("localhost", JMSBrokerConfigurationProvider.getInstance().getTransportConnectors()); activeMqBroker.start() Thanks, Nuwanw On Mon, May 11, 2015 at 5:51 PM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote: > > > On Mon, May 11, 2015 at 3:38 PM, Nuwan Wimalasekara <nuw...@wso2.com> > wrote: > >> Hi Mohan, >> Embedded broker only enable the tcp connector currently. We have to add >> the mqtt connector when the server is started. >> I am working on enabling the mqtt for embedded activeMQ server started by >> test framework. I will update the thread once implementation is done. >> > > Great.. Thanks Nuwan for looking into this.. > > >> Thanks, >> Nuwanw >> >> On Thu, May 7, 2015 at 10:15 PM, Mohanadarshan Vivekanandalingam < >> mo...@wso2.com> wrote: >> >>> Thanks Krishantha... >>> >>> @Waruna, please let us know if you found any option.. >>> >>> Thanks, >>> Mohan >>> >>> >>> On Thu, May 7, 2015 at 11:57 AM, Waruna Perera <waru...@wso2.com> wrote: >>> >>>> HI Krishantha, >>>> >>>> Will check on that. >>>> >>>> Thanks, >>>> >>>> On Thu, May 7, 2015 at 11:54 AM, Krishantha Samaraweera < >>>> krishan...@wso2.com> wrote: >>>> >>>>> Hi Waruna, >>>>> >>>>> I don't think we have enabled ActiveMQ broker for MQTT. Can you check >>>>> whether MQTT endpoint is exposed. And any workaround to get it started. >>>>> >>>>> The version we used is 5.9.1 and it should support for MQTT. >>>>> >>>>> Thanks, >>>>> Krishantha. >>>>> >>>>> >>>>> >>>>> On Tue, May 5, 2015 at 6:29 PM, Mohanadarshan Vivekanandalingam < >>>>> mo...@wso2.com> wrote: >>>>> >>>>>> Hi All, >>>>>> >>>>>> We are planning to ship MQTT event adapter support with CEP 4.0.0. We >>>>>> are done with the implementation but facing some issues in writing >>>>>> integration tests.. To test this functionality, we have used the ActiveMQ >>>>>> as the MQTT server. ActiveMQ version 5.9.0 and upwards contains a mqtt >>>>>> endpoint. Based on [1], Automation framework has activemq 5.9.1 support. >>>>>> But when I am trying-out, I haven't seen a mqtt endpoint. It only has >>>>>> below >>>>>> endpoint, >>>>>> >>>>>> INFO [org.apache.activemq.transport.TransportServerThreadSupport] - >>>>>> Listening for connections at: tcp://localhost:61616 >>>>>> INFO [org.apache.activemq.broker.TransportConnector] - Connector >>>>>> tcp://127.0.0.1:61616 started >>>>>> INFO [org.apache.activemq.broker.BrokerService] - Apache ActiveMQ >>>>>> 5.9.1 (testBroker, ID:mohan-ThinkPad-T530-35747-1430828992894-0:1) >>>>>> started >>>>>> INFO [org.apache.activemq.broker.BrokerService] - For help or more >>>>>> information please see: http://activemq.apache.org >>>>>> >>>>>> By default, ActiveMQ has mqtt endpoint in port 1883.. Can someone >>>>>> from Automation team help on this.. This is a blocker to consider the >>>>>> feature as done-done .. >>>>>> >>>>>> [1] https://wso2.org/jira/browse/TA-901 >>>>>> >>>>>> Thanks, >>>>>> Mohan >>>>>> >>>>>> >>>>>> -- >>>>>> *V. Mohanadarshan* >>>>>> *Software Engineer,* >>>>>> *Data Technologies Team,* >>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> * >>>>>> *lean.enterprise.middleware.* >>>>>> >>>>>> email: mo...@wso2.com >>>>>> phone:(+94) 771117673 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Krishantha Samaraweera >>>>> Senior Technical Lead - Test Automation >>>>> Mobile: +94 77 7759918 >>>>> WSO2, Inc.; http://wso2.com/ >>>>> lean . enterprise . middlewear. >>>>> >>>> >>>> >>>> >>>> -- >>>> Waruna Perera >>>> Senior Software Engineer - Test Automation >>>> Mobile: +94 77 3867037 >>>> WSO2, Inc.; http://wso2.com/ >>>> lean . enterprise . middlewear. >>>> >>> >>> >>> >>> -- >>> *V. Mohanadarshan* >>> *Software Engineer,* >>> *Data Technologies Team,* >>> *WSO2, Inc. http://wso2.com <http://wso2.com> * >>> *lean.enterprise.middleware.* >>> >>> email: mo...@wso2.com >>> phone:(+94) 771117673 >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Nuwan Wimalasekara >> Senior Software Engineer - Test Automation >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> phone: +94 71 668 4620 >> >> >> >> > > > -- > *V. Mohanadarshan* > *Senior Software Engineer,* > *Data Technologies Team,* > *WSO2, Inc. http://wso2.com <http://wso2.com> * > *lean.enterprise.middleware.* > > email: mo...@wso2.com > phone:(+94) 771117673 > -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev