Re: [Dev] MQTT Axis2 Transport
Since Axis2 does not support for multi tenant environment, we cannot able to test with tenants.We can go for inbound instead of that. Another thing that I noticed, MQTT supports only the topic not the queue. Confirmed this with MB Team also. On Tue, May 26, 2015 at 5:06 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I'm getting the following error, when I test with two tenants. but the same proxy that I'm using for both super tenant and tenant. It is working perfectly for super tenant. ERROR - AxisEngine The SampleProxy service, which is not valid, does not belong to the SampleProxy service group. org.apache.axis2.AxisFault: The SampleProxy service, which is not valid, does not belong to the SampleProxy service group. at org.apache.axis2.context.ServiceGroupContext.getServiceContext(ServiceGroupContext.java:143) at org.apache.axis2.context.ConfigurationContext.fillServiceContextAndServiceGroupContext(ConfigurationContext.java:272) at org.apache.axis2.engine.DispatchPhase.loadContexts(DispatchPhase.java:212) at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:113) at org.apache.axis2.engine.Phase.invoke(Phase.java:329) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.mqtt.MqttListenerCallback.messageArrived(MqttListenerCallback.java:52) at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:332) at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:144) at java.lang.Thread.run(Thread.java:695) On Mon, May 25, 2015 at 3:42 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanka, I've added the mqtt axis2 transport code to git. Please find the pull request below. https://github.com/wso2/wso2-axis2-transports/pull/38 Thank you. On Mon, May 25, 2015 at 1:28 PM, Chanaka Fernando chana...@wso2.com wrote: +1. On Mon, May 25, 2015 at 12:12 PM, Malaka Silva mal...@wso2.com wrote: +1 for wso2-axis2-transport/modules/mqtt On Mon, May 25, 2015 at 12:10 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I need to bring the mqtt code to git code base? Can I get it in following location? wso2-axis2-transport/modules/mqtt Any suggestions? On Sat, May 23, 2015 at 8:08 AM, Malaka Silva mal...@wso2.com wrote: +1 we need to add support for content-type. I think we should have options to get it from message and pass as param. Have done similar for inbound MQTT. On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client
Re: [Dev] MQTT Axis2 Transport
Hi Chanaka, I'm getting the following error, when I test with two tenants. but the same proxy that I'm using for both super tenant and tenant. It is working perfectly for super tenant. ERROR - AxisEngine The SampleProxy service, which is not valid, does not belong to the SampleProxy service group. org.apache.axis2.AxisFault: The SampleProxy service, which is not valid, does not belong to the SampleProxy service group. at org.apache.axis2.context.ServiceGroupContext.getServiceContext(ServiceGroupContext.java:143) at org.apache.axis2.context.ConfigurationContext.fillServiceContextAndServiceGroupContext(ConfigurationContext.java:272) at org.apache.axis2.engine.DispatchPhase.loadContexts(DispatchPhase.java:212) at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:113) at org.apache.axis2.engine.Phase.invoke(Phase.java:329) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) at org.apache.axis2.transport.mqtt.MqttListenerCallback.messageArrived(MqttListenerCallback.java:52) at org.eclipse.paho.client.mqttv3.internal.CommsCallback.handleMessage(CommsCallback.java:332) at org.eclipse.paho.client.mqttv3.internal.CommsCallback.run(CommsCallback.java:144) at java.lang.Thread.run(Thread.java:695) On Mon, May 25, 2015 at 3:42 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanka, I've added the mqtt axis2 transport code to git. Please find the pull request below. https://github.com/wso2/wso2-axis2-transports/pull/38 Thank you. On Mon, May 25, 2015 at 1:28 PM, Chanaka Fernando chana...@wso2.com wrote: +1. On Mon, May 25, 2015 at 12:12 PM, Malaka Silva mal...@wso2.com wrote: +1 for wso2-axis2-transport/modules/mqtt On Mon, May 25, 2015 at 12:10 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I need to bring the mqtt code to git code base? Can I get it in following location? wso2-axis2-transport/modules/mqtt Any suggestions? On Sat, May 23, 2015 at 8:08 AM, Malaka Silva mal...@wso2.com wrote: +1 we need to add support for content-type. I think we should have options to get it from message and pass as param. Have done similar for inbound MQTT. On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com
Re: [Dev] MQTT Axis2 Transport
Hi Chanaka, I need to bring the mqtt code to git code base? Can I get it in following location? wso2-axis2-transport/modules/mqtt Any suggestions? On Sat, May 23, 2015 at 8:08 AM, Malaka Silva mal...@wso2.com wrote: +1 we need to add support for content-type. I think we should have options to get it from message and pass as param. Have done similar for inbound MQTT. On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MQTT Axis2 Transport
+1 for wso2-axis2-transport/modules/mqtt On Mon, May 25, 2015 at 12:10 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I need to bring the mqtt code to git code base? Can I get it in following location? wso2-axis2-transport/modules/mqtt Any suggestions? On Sat, May 23, 2015 at 8:08 AM, Malaka Silva mal...@wso2.com wrote: +1 we need to add support for content-type. I think we should have options to get it from message and pass as param. Have done similar for inbound MQTT. On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33
Re: [Dev] MQTT Axis2 Transport
+1. On Mon, May 25, 2015 at 12:12 PM, Malaka Silva mal...@wso2.com wrote: +1 for wso2-axis2-transport/modules/mqtt On Mon, May 25, 2015 at 12:10 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I need to bring the mqtt code to git code base? Can I get it in following location? wso2-axis2-transport/modules/mqtt Any suggestions? On Sat, May 23, 2015 at 8:08 AM, Malaka Silva mal...@wso2.com wrote: +1 we need to add support for content-type. I think we should have options to get it from message and pass as param. Have done similar for inbound MQTT. On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300
Re: [Dev] MQTT Axis2 Transport
Hi Chanka, I've added the mqtt axis2 transport code to git. Please find the pull request below. https://github.com/wso2/wso2-axis2-transports/pull/38 Thank you. On Mon, May 25, 2015 at 1:28 PM, Chanaka Fernando chana...@wso2.com wrote: +1. On Mon, May 25, 2015 at 12:12 PM, Malaka Silva mal...@wso2.com wrote: +1 for wso2-axis2-transport/modules/mqtt On Mon, May 25, 2015 at 12:10 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I need to bring the mqtt code to git code base? Can I get it in following location? wso2-axis2-transport/modules/mqtt Any suggestions? On Sat, May 23, 2015 at 8:08 AM, Malaka Silva mal...@wso2.com wrote: +1 we need to add support for content-type. I think we should have options to get it from message and pass as param. Have done similar for inbound MQTT. On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print
Re: [Dev] MQTT Axis2 Transport
Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MQTT Axis2 Transport
Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MQTT Axis2 Transport
+1 we need to add support for content-type. I think we should have options to get it from message and pass as param. Have done similar for inbound MQTT. On Fri, May 22, 2015 at 6:11 PM, Chanaka Fernando chana...@wso2.com wrote: Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com -- Best Regards, Malaka Silva Senior Tech Lead M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware http://www.wso2.com/ http://www.wso2.com/about/team/malaka-silva/ http://wso2.com/about/team/malaka-silva/ Save a tree -Conserve nature Save the world for your future. Print this email only if it is absolutely necessary. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MQTT Axis2 Transport
Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MQTT Axis2 Transport
Hi Sriashalya, Good job. Shall we add the support for following content-types as well. text/plain application/octet-stream Above content types will be useful when integrating IoT related devices with WSO2 ESB. Thanks, Chanaka On Fri, May 22, 2015 at 5:58 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've done with the content type parameter passing through axis2.xml.Now following messages types can be passed through ESB to broker application/json application/xml text/xml Thank you. On Fri, May 22, 2015 at 12:16 PM, Kathees Rajendram kath...@wso2.com wrote: Hi Sriashalya, The jira[1] is already created for the issue.I think you need to pass the content type parameter in axis2.xml. [1] - https://wso2.org/jira/browse/ESBJAVA-3436 Thanks, Kathees On Fri, May 22, 2015 at 12:05 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, Now I'm testing the broker through ESB with different message format.if we set the content type parameter only, we can send different formats of messages through ESB to mosquito broker. So how to do this? On Tue, May 19, 2015 at 4:08 PM, Sriashalya Srivathsan asha...@wso2.com wrote: looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kathees Software Engineer, email: kath...@wso2.com mobile: +94772596173 -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- -- Chanaka Fernando Senior Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] MQTT Axis2 Transport
looping to dev On Tue, May 19, 2015 at 2:32 PM, Sriashalya Srivathsan asha...@wso2.com wrote: Hi Chanaka, I've configured and setup mqtt axis2 transport through ESB with mosquito broker. But when I send one message from client, ESB listens bunch of messages and send those to broker.I'm looking on that. Thank you, On Mon, May 18, 2015 at 12:18 PM, Kasun Indrasiri ka...@wso2.com wrote: Hi Sriashalya, Can you try debugging the code and see why it is not working.. In general, if you encounter any issues with ESB, the best thing is to debug and find out why its isn't working as expected. :) -- Forwarded message -- From: Sriashalya Srivathsan asha...@wso2.com Date: Mon, May 18, 2015 at 12:12 PM Subject: [Dev] MQTT Axis2 Transport To: Chanaka Fernando chana...@wso2.com, WSO2 Developers' List dev@wso2.org Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/ -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] MQTT Axis2 Transport
Hi Chanaka, I have tried $ subject with Mosquito broker. - I've started the subscriber by following command mosquitto_sub -h 127.0.0.1 -t topic - have made all the required changes to ESB. - started the publisher through Java Client But I don't get any thing in the ESB console and subscriber console. -- Regards S.Sriashalya, WSO2 *Inc*. lean . enterprise . middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev