mozes / stompest Goto Github PK
View Code? Open in Web Editor NEWStompest has a new home: https://github.com/nikipore/stompest
License: Other
Stompest has a new home: https://github.com/nikipore/stompest
License: Other
I installed the stomp plugin for rabbitmq (rabbitmq_stomp.ez and amqp_client.ez) as per http://www.rabbitmq.com/stomp.html.
>>> from stompest.simple import Stomp
>>> QUEUE = '/queue/simpleTest'
>>> stomp = Stomp('localhost', 61613)
>>> stomp.connect()
After this, the python shell hangs indefinitely.
Testing against rabbitmq with telnet works as expected:
$ telnet localhost 61613
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
CONNECT
^@
CONNECTED
session:session-9Z1PNAe1n3GvJFeAApbMPg==
heart-beat:0,0
version:1.0
DISCONNECT
^@
Connection closed by foreign host.
While I was expecting some compatibility issues ("your milage may wary"), I was hoping basic functionality would be there :)
http://activemq.apache.org/exclusive-consumer.html
java code is
queue = new ActiveMQQueue("TEST.QUEUE?consumer.exclusive=true");
consumer = session.createConsumer(queue);
I have try to config uri
failover:(tcp://xxxx:61613,tcp://xxx)?exclusive=true,randomize=false,maxReconnectDelay=30000
there is a errror:
[invalid options: 'exclusize']
Exception AttributeError: "'ActiveMQConsumer' object has no attribute 'client'" in <bound method
I'd like to be able to unsubscribe from a destination.
If I fork (is that the git term?) your project and add this can I push the change back?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.