Thanks Gayan!

What errors were you hitting?  The few clients I tried give me the error [1].

It seems some of f the python amqp libraries don't support version 1.0 of AMQP?

---
[1] 
http://activemq.2283324.n4.nabble.com/AMQP-version-AMQP-header-mismatch-value-0-expecting-1-td4663920.html

On Tue, Aug 26, 2014 at 6:03 AM, Gayan Gunarathne <gay...@wso2.com> wrote:
> Hi Chirs,
>
> Please find the python client library samples which we are tested.
> https://github.com/gayangunarathne/amqp_python_libraries
>
> Thanks,
> Gayan
>
>
> On Tue, Aug 26, 2014 at 9:56 AM, Gayan Gunarathne <gay...@wso2.com> wrote:
>>
>> Hi Chris,
>>
>> Yeah. We looked that qpid messaging as well.For that we need that qpid
>> proton library .Is n't?
>> AFAIR it is based on CMake and It requires java also[1].
>>
>> Also we will share with you the samples we try with the amqp clients.
>>
>>
>> [1]http://svn.apache.org/repos/asf/qpid/proton/trunk/README
>>
>>
>> Thanks,
>> Gayan
>>
>>
>> On Mon, Aug 25, 2014 at 7:33 PM, chris snow <chsnow...@gmail.com> wrote:
>>>
>>> hi Gayan,
>>>
>>> What are the issues that you received from the various AMQP libraries?
>>> Do you have a code repo that I can take a look at to try and replicate
>>> the errors?
>>> Did you investigate qpid [1]?
>>>
>>> Many thanks
>>>
>>> Chris
>>>
>>> ---
>>> [1]
>>> http://qpid.apache.org/releases/qpid-0.28/messaging-api/python/examples/hello.html
>>>
>>> On Mon, Aug 25, 2014 at 2:16 PM, Gayan Gunarathne <gay...@wso2.com>
>>> wrote:
>>> > Hi Chris,
>>> >
>>> > We try to replace our java cartridge agent with the python as after
>>> > that we
>>> > can remove the java dependency from the cartridge itself.I guess this
>>> > is
>>> > also vital for the Docker support too.
>>> >
>>> > In Apache ActiveMQ site also AMQP support is based on the JMS/AMQP[1].
>>> > I
>>> > guess message broker implementation will be different from one MQ to
>>> > other
>>> > as some python client which able to connect with RabbitMQ successfully
>>> > ,still fails with the ActiveMQ.
>>> >
>>> > [1] http://activemq.apache.org/amqp.html
>>> >
>>> > Thanks,
>>> > Gayan
>>> >
>>> >
>>> > On Mon, Aug 25, 2014 at 5:55 PM, chris snow <chsnow...@gmail.com>
>>> > wrote:
>>> >>
>>> >> Is the issue because we currently have a mix of JMS/AMQP/Jndi? If we
>>> >> had a
>>> >> pure AMQP approach would these problems go away?  AFAIK, one of the
>>> >> drivers
>>> >> for AMQP was interoperability with all languages, rather than jms
>>> >> which is
>>> >> focused on Java.
>>> >>
>>> >> On 25 Aug 2014 12:49, "Gayan Gunarathne" <gay...@wso2.com> wrote:
>>> >>>
>>> >>> Hi All,
>>> >>>
>>> >>> With related to the python cartridge agent , Dinesh and myself do
>>> >>> some
>>> >>> research related to the Apache ActiveMQ connectivity using the python
>>> >>> client.
>>> >>>
>>> >>> Following our findings on this.
>>> >>>
>>> >>> AMQP
>>> >>>
>>> >>> AFAWU we need to have  pyactivemq , which is a Python wrapper for the
>>> >>> ActiveMQ C++ Library,[1] But we won't be able to use this module as
>>> >>> it is
>>> >>> platform dependent.
>>> >>> Also we checked the following client libraries as well(those are
>>> >>> recommended with the RabbitMQ)
>>> >>> [3] py-amqplib
>>> >>> [4] txAMQP
>>> >>> [5] pika
>>> >>> [6] Carrot (has copy right licence)
>>> >>>
>>> >>> But we were unable to connect Apache ActiveMQ with those as
>>> >>> well.(Even
>>> >>> through we can connect those with the RabbitMQ)
>>> >>>
>>> >>> STOMP[2]
>>> >>>
>>> >>> With the STOMP protocol , We were able to connect Apache ActiveMQ by
>>> >>> using the stomp module.[7]
>>> >>>
>>> >>>
>>> >>> As a summary,
>>> >>> It seems like we need to use STOMP to connect ActiveMQ. But still,
>>> >>> WSO2
>>> >>> message broker is not supporting STOMP protocol.
>>> >>> IMO Shall we used the hybrid model for connect to the message queues.
>>> >>> Such that , we can use STOMP to connect the ActiveMQ and AMQP to
>>> >>> connect
>>> >>> WSO2 MB. WDYT?
>>> >>> With txAMQP[4] we were able to connect WSO2 MB using the qpid amqp
>>> >>> specifications.
>>> >>> Please share your suggestions and thoughts on this.
>>> >>>
>>> >>>
>>> >>> [1] http://activemq.apache.org/python.html
>>> >>> [2] http://activemq.apache.org/stomp.html
>>> >>> [3] http://barryp.org/software/py-amqplib/
>>> >>> [4] https://launchpad.net/txamqp
>>> >>> [5] https://github.com/pika/pika
>>> >>> [6] https://pypi.python.org/pypi/carrot/
>>> >>> [7] https://github.com/jasonrbriggs/stomp.py
>>> >>>
>>> >>> @Dinesh , Please add If I missed anything here.
>>> >>>
>>> >>>
>>> >>>
>>> >>> Thanks,
>>> >>> Gayan
>>> >>>
>>> >>>
>>> >>> --
>>> >>>
>>> >>>
>>> >>> Gayan Gunarathne
>>> >>> Technical Lead
>>> >>> WSO2 Inc. (http://wso2.com)
>>> >>> email  : gay...@wso2.com  | mobile : +94 766819985
>>> >>>
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Best Regards,
>>> >
>>> > Gayan Gunarathne
>>> > Technical Lead
>>> > WSO2 Inc. (http://wso2.com)
>>> > email  : gay...@wso2.com  | mobile : +94 766819985
>>> >
>>
>>
>>
>>
>> --
>> Best Regards,
>>
>> Gayan Gunarathne
>> Technical Lead
>> WSO2 Inc. (http://wso2.com)
>> email  : gay...@wso2.com  | mobile : +94 766819985
>>
>
>
>
>
> --
> Best Regards,
>
> Gayan Gunarathne
> Technical Lead
> WSO2 Inc. (http://wso2.com)
> email  : gay...@wso2.com  | mobile : +94 766819985
>

Reply via email to