stomppy for receiving message

2007-05-01 Thread cyborg
Hi, I use stomppy.py for activemq connectivity, I can connect and send messages but I'm not clear how to receive message. I don't see any "receive" method in there. Anybody has some example? I have so far: st = stomppy.Connection('172.18.8.67', 61613) st.start() st.subscribe('/queue/test') st.??

Re: clustring activeMQ question

2007-04-09 Thread cyborg
>>>Pull out a network cable? Kill a process? if I do that, client will not be able to connect to my broker, so it will not know about the message and won't redirect. I don't get this part... client sending messages doesn't know about other brokers, right? it sends to one that knows, or it should

clustring activeMQ question

2007-04-09 Thread cyborg
Hi, I'm new to activeMQ, and I guess I don't understand something. I just started activeMQ with failover parameter in activemw.xml file, and looks like both machines are connected. Now, how can I test it to find out if one fails another is going to get message? How do I fail one queue? If I fail o