Re: Licenses for active mq ??

2007-04-18 Thread Tim Morrow 2
I'm not the Active MQ Team, but the homepage http://activemq.apache.org/ states it is "released under the Apache 2.0 License" http://www.apache.org/licenses/LICENSE-2.0.html which means you can pretty much do what you want with the software without paying anyone. See also LICENSE.txt in the root

Re: Execute Multiple MDBs concurrently

2007-04-09 Thread Tim Morrow 2
I believe the max number of MDB instances that will be started is a container-specific setting, for example with JBoss its going to be in the ejb jar META-INF/jboss.xml file. Tim avin98 wrote: > > My MDB is in a long lived conversation state, and I have Authentication > Requests arriving on

Re: Problems Recv. Messages on MDB

2007-04-09 Thread Tim Morrow 2
If your hunch is correct (about Spring initializing a new context for each MDB instance) you can try a SingletonBeanFactoryLocator : http://www.springframework.org/docs/api/org/springframework/beans/factory/access/SingletonBeanFactoryLocator.html In setMessageDrivenContext, do something like this

Re: Maven build doesn't fail even when maven plugin fails to start broker

2007-04-06 Thread Tim Morrow 2
I created an issue: https://issues.apache.org/activemq/browse/AMQ-1224 No patch this time :( Tim Tim Morrow 2 wrote: > > If the maven plugin fails to start the broker for whatever reason (e.g. > there is already a process listening on the broker port) the error is > logged b

Maven build doesn't fail even when maven plugin fails to start broker

2007-04-06 Thread Tim Morrow 2
If the maven plugin fails to start the broker for whatever reason (e.g. there is already a process listening on the broker port) the error is logged but the maven build proceeds. I would have expected the maven build to error out. It would appear that this is because the class that the plugin in

Re: Controlling location of activemq-data with maven plugin

2007-04-06 Thread Tim Morrow 2
And here is the issue: https://issues.apache.org/activemq/browse/AMQ-1223 with patch attached. Tim Morrow 2 wrote: > > Right now when I start the broker via the Maven plugin, it creates the > "activemq-data" directory in the directory from which I'm executing >

Re: DequeueCount is 0 even with active consumers

2007-04-06 Thread Tim Morrow 2
Sorry, its been a while since I've had to write a client by hand, but do you need to call amqConnection.start() to begin receiving messages? Tim astepanenko wrote: > > Dear all, > > I'm new to ActiveMQ and have run into a problem when EnqueueCount and > DispatchCount for my queue in JConso

Re: Forking activemq with maven plugin

2007-04-06 Thread Tim Morrow 2
Done. https://issues.apache.org/activemq/browse/AMQ-1222 BTW, There didn't seem to be a component for the Maven plugin. Tim James.Strachan wrote: > >> Would adding a "fork" option to the plugin make sense? > > Definitely! We could spin up ActiveMQ in a background thread, let > maven continue

Re: Forking activemq with maven plugin

2007-04-04 Thread Tim Morrow 2
hen set to true spawns AMQ in a thread. Now my container tests are self-contained and run to completion. Would adding a "fork" option to the plugin make sense? Thanks, Tim Tim Morrow 2 wrote: > > Hi, > > I'm in the process of automating my container tests, part of which &

Forking activemq with maven plugin

2007-04-04 Thread Tim Morrow 2
Hi, I'm in the process of automating my container tests, part of which includes spinning up an ActiveMQ instance for the duration of running the tests. I found the maven plugin and it works great for starting ActiveMQ, the problem being that it blocks the Maven build process. I'd like to be abl