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

Reply via email to