Re: Consumer count question

2011-08-17 Thread Don Santillan
12:34 AM, Gary Tully wrote: if each consumer uses a new connection, there will be an advisor consumer per connection. use ?jms.watchTopicAdvisories=false on the broker url to remove them. They are used to have an early indication of temp queue creation/deletion. On 17 August 2011 14:26, Don Sant

Consumer count question

2011-08-17 Thread Don Santillan
Hello, I'm just curious on the consumer count I'm getting using the statistics plugin. I use the plugin to get some statistics like the number of consumers bound to a queue and a broker. I am setting a queue to have 10 consumers. Getting the queue and broker statistics, I get 10 consumers co

Re: Question on consumers

2011-05-03 Thread Don Santillan
at 11:50 AM, Don Santillan wrote: Hello, I have a basic question about message consumers that I really need to confirm that my understanding is correct. Do message consumers run in different threads? Suppose I have 5 consumers assigned to a queue. Are these consumers independent with each othe

Re: Question on consumers

2011-05-03 Thread Don Santillan
bump On Monday, 02 May, 2011 05:50 PM, Don Santillan wrote: Hello, I have a basic question about message consumers that I really need to confirm that my understanding is correct. Do message consumers run in different threads? Suppose I have 5 consumers assigned to a queue. Are these

Question on consumers

2011-05-02 Thread Don Santillan
Hello, I have a basic question about message consumers that I really need to confirm that my understanding is correct. Do message consumers run in different threads? Suppose I have 5 consumers assigned to a queue. Are these consumers independent with each other and are running in different t

Re: Too many open files

2011-01-06 Thread Don Santillan
Juan Nin wrote: I'm basically using the default config, with the things I don't use disabled, and several values tweaked based on the sample config files that come with ActiveMQ On Wed, Jan 5, 2011 at 3:24 PM, Don Santillan wrote: Thanks for the reply Juan! Can you give me a

Re: Too many open files

2011-01-05 Thread Don Santillan
naver had that issue again. Regards, Juan On Wed, Jan 5, 2011 at 12:01 PM, Don Santillan wrote: Hello, I have an embedded activemq in my webapp and it is deployed in a jetty server. I believe that our server OS's file descriptor limit has enough value. After a few days, the applic

Too many open files

2011-01-05 Thread Don Santillan
Hello, I have an embedded activemq in my webapp and it is deployed in a jetty server. I believe that our server OS's file descriptor limit has enough value. After a few days, the application crashed with the following error: 2011-01-05 00:34:40.000:WARN::EXCEPTION java.io.IOException: Too m

Re: What is the time period used in StatisticsPlugin?

2010-12-06 Thread Don Santillan
the last reset which can be issued via the admin console or vi jmx. On 2 December 2010 14:46, Don Santillan mailto:donzym...@gmail.com>> wrote: > Hello, > > I would like to know how the StatisticsPlugin track statistics. For example > on &quo

Re: What is the time period used in StatisticsPlugin?

2010-12-05 Thread Don Santillan
up up Anyone please? Don Santillan wrote: up up Don Santillan wrote: Hello, I would like to know how the StatisticsPlugin track statistics. For example on "ActiveMQ.Statistics.Broker" or "ActiveMQ.Statistics.Destination.", it returns the statistics for

Re: What is the time period used in StatisticsPlugin?

2010-12-02 Thread Don Santillan
up up Don Santillan wrote: Hello, I would like to know how the StatisticsPlugin track statistics. For example on "ActiveMQ.Statistics.Broker" or "ActiveMQ.Statistics.Destination.", it returns the statistics for "averageEnqueueTime", "maxEnqueueTime&q

What is the time period used in StatisticsPlugin?

2010-12-02 Thread Don Santillan
Hello, I would like to know how the StatisticsPlugin track statistics. For example on "ActiveMQ.Statistics.Broker" or "ActiveMQ.Statistics.Destination.", it returns the statistics for "averageEnqueueTime", "maxEnqueueTime", and "minEnqueueTime". What is the period used to calculate these numb

InstanceAlreadyExistsException

2010-09-24 Thread Don Santillan
Hello, I am consistently getting this error when I do a redeploy of my application. It seems like my broker is not getting closed/stopped upon redeploy. Note that I am creating my broker through xbean: String brokerURI = "vm://localbroker?brokerConfig=xbean:activemq.xml" ActiveMQConnectionFac

Re: StatisticsBrokerPlugin activation

2010-09-17 Thread Don Santillan
erURI should be of the form: vm://localhost?brokerConfig=xbean:... so you still get a vm connection, but the embedded broker is created using the referenced xml file. On 16 September 2010 14:27, Don Santillan wrote: Hello Gary, Here's what I did: 1. added activemq.xml to classpat

Re: StatisticsBrokerPlugin activation

2010-09-16 Thread Don Santillan
.org/broker-configuration-uri.html On 16 September 2010 09:24, Don Santillan wrote: Hello, I am using activemq as a dependency in a web app. My web app is deployed to a jetty server which is run through maven by issuing "mvn jetty:run". Of course, one part of the web app is to cr

Re: StatisticsBrokerPlugin activation

2010-09-16 Thread Don Santillan
cs coming from the broker. The test is failing on the line, assertNotNull(reply);, since the reply is null. -don Don Santillan wrote: Hello, I am using activemq as a dependency in a web app. My web app is deployed to a jetty server which is run through maven by issuing "mvn jetty:run".

StatisticsBrokerPlugin activation

2010-09-16 Thread Don Santillan
Hello, I am using activemq as a dependency in a web app. My web app is deployed to a jetty server which is run through maven by issuing "mvn jetty:run". Of course, one part of the web app is to create and start a broker. I am doing this through ActiveMQConnectionFactory (as described at the l

Re: How to monitor queue size programmatically?

2010-09-15 Thread Don Santillan
ction - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Sep 8, 2010 at 2:51 PM, Tracy Snell wrote: That info is exposed through JMX. Fire up jconsole and browse and you'll see it. On Sep 8, 2010, at 8:47 AM, Don Santillan wrote: Hello, Is there a way to monitor or count th

How to monitor queue size programmatically?

2010-09-08 Thread Don Santillan
Hello, Is there a way to monitor or count the queue size programmatically? Can I see a sample code snippet? Thanks! Don

Re: Help on Message Group

2010-08-02 Thread Don Santillan
James Strachan wrote: On 2 August 2010 18:49, Don Santillan wrote: Hello, I am trying to create an application that would use a message queue that is consumed by multiple consumers running concurrently but would still maintain the order of message processing by a certain ID. For example

Help on Message Group

2010-08-02 Thread Don Santillan
Hello, I am trying to create an application that would use a message queue that is consumed by multiple consumers running concurrently but would still maintain the order of message processing by a certain ID. For example, I have a set of messages added to a queue: ID1-M1 ID1-M2 ID2-M1 ID3-M1