+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

Reply via email to