Hi All,

I hope above fix has been released by now. Anyway i  have enabled CEP MQTT
test cases and test frameworks activemq broker (5.9.1) getting started
within test case. But I am getting following exception as "Unrecognized
packet (32108)" when calling connect method. I manually downloaded and ran
activemq broker (5.9.1), for that it is getting connected and messages will
be sent.

[java] [main] INFO  org.wso2.carbon.sample.mqttclient.MQTTClient  - Error
while connecting to MQTT server

     [java] Unrecognized packet (32108)

     [java] at
org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)

     [java] at
org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:72)

     [java] at
org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:107)

     [java] at java.lang.Thread.run(Thread.java:745)


Regards,

On Tue, May 19, 2015 at 1:07 PM, Krishantha Samaraweera <krishan...@wso2.com
> wrote:

> Hi Mohan,
>
> On Tue, May 19, 2015 at 10:49 AM, Mohanadarshan Vivekanandalingam <
> mo...@wso2.com> wrote:
>
>>
>>
>> On Thu, May 14, 2015 at 12:18 PM, Nuwan Wimalasekara <nuw...@wso2.com>
>> wrote:
>>
>>> Hi Mohan,
>>> We are planning to release the test-automation-framework 4.3.2 by end of
>>> tomorrow(Friday).
>>>
>>
>> @ Nuwan, Whether above is released ?
>>
>
> This is not yet released publicly, but in staging -
> http://maven.wso2.org/nexus/content/repositories/orgwso2carbonautomation-010/org/wso2/carbon/automation/
>
> Version - 4.4.0
>
> Thanks,
> Krishantha.
>
>>
>>
>>>
>>> Thanks,
>>> Nuwanw
>>>
>>> On Thu, May 14, 2015 at 12:04 PM, Mohanadarshan Vivekanandalingam <
>>> mo...@wso2.com> wrote:
>>>
>>>> By the Nuwan, when you guys planning to release the 4.3.2 automation
>>>> framework ?
>>>>
>>>> Thanks,
>>>> Mohan
>>>>
>>>>
>>>> On Wed, May 13, 2015 at 5:44 PM, Mohanadarshan Vivekanandalingam <
>>>> mo...@wso2.com> wrote:
>>>>
>>>>> Thanks Nuwan, I'll check that...
>>>>>
>>>>> Regards,
>>>>> Mohan
>>>>>
>>>>>
>>>>> On Wed, May 13, 2015 at 4:54 PM, Nuwan Wimalasekara <nuw...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *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
>>>
>>>
>>>
>>>
>>
>>
>> --
>> *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
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to