dropping messages

2008-12-15 Thread Eugene79
Hi all, We are using ActiveMQ 5.1.0 with durable topics. I conducted a load test and concluded that ActiveMQ slows to a crawl when there are multiple orphaned subscriptions (i.e. durable subscribers that are no longer used but are accumulating pending messages). After deleting the orphaned subscr

map messages

2008-10-16 Thread Eugene79
Hi all, I am trying to pass map messages via activemq. So far it works java <--> java. I modified stomp.py to serialize dictionaries as described here: http://docs.codehaus.org/display/STOMP/Stomp+v1.1+Ideas So now I can send python dictionary and receive MapMessage in java. However, if I send

Re: durable subscriber support in stomp.rb

2008-09-10 Thread Eugene79
here is test code for subscriber -- require 'rubygems' require 'stomp' # activemq uses client-id: and activemq.subscriptionName: headers to uniquely # identify a subscription. This is required for durable subscribers @conn = Stomp::Connection.open nil, nil, "lo

Re: durable subscriber support in stomp.rb

2008-09-10 Thread Eugene79
smit(s, "CONNECT", params) @connect = _receive(s) # replay any subscriptions. @subscriptions.each { |k,v| _transmit(s, "SUBSCRIBE", v) } Enrico Teotti wrote: > > well done mate! > Where is the code atm? Can I take a look at it? &

Re: durable subscriber support in stomp.rb

2008-09-09 Thread Eugene79
Got reply from Andrew Kuklewicz. He said he will incorporate the changes. Eugene bsnyder wrote: > > On Tue, Sep 9, 2008 at 12:55 PM, Eugene79 <[EMAIL PROTECTED]> wrote: >> >> I contacted the guy who is listed as the project admin on rubyforge. He >> says >

Re: durable subscriber support in stomp.rb

2008-09-09 Thread Eugene79
code anymore? Eugene Eugene79 wrote: > > Hi all, > > I added support for durable subscribers to stomp.rb. I am trying to submit > a patch. The project page (http://rubyforge.org/projects/stomp/) doesn't > seem to be maintained. I emailed the guy who is listed as the projec

durable subscriber support in stomp.rb

2008-09-08 Thread Eugene79
Hi all, I added support for durable subscribers to stomp.rb. I am trying to submit a patch. The project page (http://rubyforge.org/projects/stomp/) doesn't seem to be maintained. I emailed the guy who is listed as the project admin (Brian McCallister) and he says he doesn't maintain it anymore. W

Re: persistence not working

2008-09-03 Thread Eugene79
ok, thanks. I got the durable java client to work. But I still need to get it to work in ruby. There is absolutely no documentation on that. For that matter, I did not find *any* documentation of the ruby Stomp package. Can anyone help here? thanks, Eugene Eugene79 wrote: > > Hi, >

Re: persistence not working

2008-09-03 Thread Eugene79
k. Can somebody point me to *any* sample code to do this. Java, ruby, anything. ActiveMQ documentation is practically non-existent. Eugene79 wrote: > > Hi, > > I am investigating ActiveMQ as a message broker solution for our > application. I set it up on my machine and tr

Re: persistence not working

2008-09-03 Thread Eugene79
sumer > feature is used when the consumer crashes, reboots, or otherwise goes > offline. > > Best, > Jim > > On Tue, Sep 2, 2008 at 7:02 PM, Eugene79 <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> I am investigating ActiveMQ as a message broker

persistence not working

2008-09-02 Thread Eugene79
Hi, I am investigating ActiveMQ as a message broker solution for our application. I set it up on my machine and tried sample ruby programs. So far it works fine when there is both a publisher and subscriber running. However, what I want to do is make sure that messages can be delivered even if th