Re: Beginner problem: Too many consumers on queue after browser restart...

2010-10-08 Thread jule
Thanks for pointing that out, Alex. As I was not able to compile and run a source version with the patch you mentioned applied, I´ll stay with this "solution". My application is not in production yet. I am looking forward to see your patch (hopefully) in the next release of ActiveMQ. Thank you

Re: Configuring Distributed Queues in Store/Forward Network

2010-10-08 Thread schow
> The prefetch limit determines how many messages can be sent to a > consumer to be processed. The default value for the queue prefetch > limit is 1000. Oftentimes this limit is fine for fast consumers that > never slow down, but it can easily flood a slow consumer. This is why > we recommend adju

RE: Service Wrapper on Windows Server 2008 R2

2010-10-08 Thread Allen Reese
The work-around is using the Daemon interface. Basically console.Main calls shellcommand to get it started, then exits. If you use the Daemon interface, and then code it to create and call the start/stop console command this goes away. Basically, for start/stop you have to call the Startup/Shutd

RE: Service Wrapper on Windows Server 2008 R2

2010-10-08 Thread Pitre, Russell
Excellent. Thanks. The only problem I'm still running into is when I stop the service I get a "Error 109: The pipe has been ended". After looking at this ( https://issues.apache.org/jira/browse/DAEMON-103 ) and this (https://svn.apache.org/repos/asf/activemq/trunk/activemq-console/src/ma in/java

RE: Service Wrapper on Windows Server 2008 R2

2010-10-08 Thread Allen Reese
I thought I had created a JIRA for this, but I have a similar issue. :) At Yahoo!, we use jsvc to start/stop things, and as such I've implements the Commons Daemon interface for starting and stopping ActiveMQ. I am waiting for approval to contribute the wrapper code, and start/stop scripts for

topics created when I am using queue?

2010-10-08 Thread ChicagoBob123
Topic Number Of Consumers Messages EnqueuedMessages Dequeued ActiveMQ.Advisory.Connection 0 3672 0 ActiveMQ.Advisory.Queue0 12502

Deleteing or purging a Queue

2010-10-08 Thread ChicagoBob123
I have the need to purge a queue when a new request comes in on a queue I named commandqueue. When I try to delete the queue I get an exception that there still is a consumer attached to the queue. That may be true and is of no consequenece to me. I need to either purge or delete the queue. I

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-10-08 Thread Alex Dean
On Oct 8, 2010, at 5:09 AM, jule wrote: > > I found a (quite obvious) solution to this problem. I just added a call to > removeListener() of amq.js just before adding my listener on startup, like > so: > > amq.removeListener(id, destination); > amq.addListener(id, destination, callBack); > > N

Service Wrapper on Windows Server 2008 R2

2010-10-08 Thread Pitre, Russell
I recently wrote a blog article about using Commons Daemon Procrun as a service wrapper for ActiveMQ running on Windows server 2008 R2 64-bit. Passing the link along for anyone who may find it useful. I searched for alternative 64-bit compatible service wrappers on windows systems and didn't come

Re: Do not create example.A queue - how to?

2010-10-08 Thread Dejan Bosanac
Hi, this queue is created from the example camel route. You should comment it out in conf/camel.xml You can't strictly forbid auto-creation, but you can enable security rules (http://activemq.apache.org/security.html) that can practically disable it for all users. Cheers -- Dejan Bosanac - http:

Do not create example.A queue - how to?

2010-10-08 Thread Tobias Trelle
I'm using ACM 5.4.1. I like all my queues to be predefined at startup time, so I'm using a configuration like this: I do not want any other queues than the two above. How do I stop AMQ from creating the queue example.A on startup? I disabled the auto-creation of queues for all cli

Re: Beginner problem: Too many consumers on queue after browser restart...

2010-10-08 Thread jule
I found a (quite obvious) solution to this problem. I just added a call to removeListener() of amq.js just before adding my listener on startup, like so: amq.removeListener(id, destination); amq.addListener(id, destination, callBack); Now it works perfectly fine for me. Maybe this should be incl

Re: Newbie Question about Plugins

2010-10-08 Thread Dejan Bosanac
Thanks Bruce. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Oct 7, 2010 at 7:43 PM, Bruce Snyder wrote: > On Thu, Oct 7, 2010 at 10:37 AM, Mentor1

Re: Remotely Enable Advisory Messages

2010-10-08 Thread Dejan Bosanac
Hi, there isn't such a feature at the moment. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Oct 7, 2010 at 9:14 PM, urciolo wrote: > > I would l