Re: Even after upgrade to ActiveMQ 5.4.0, still seeing negative #'s in the "Pending Msgs" column

2010-09-01 Thread Colleen Velo
Gary re: JConsole - don't know yet. I will try to hook JConsole up and look through that as well - currently using the bundled web admin console. As far as test case, I don't have one - just the standard message traffic from our producers to our consumers (slightly less than the traffic that is ru

Re: Help on Adium

2010-09-01 Thread Stan Lewis
ActiveMQ doesn't understand the resource request there, so use a username like "foo" instead of "f...@adium" and you should be able to connect just fine, tested it here on 1.4b18 and it looks good. On Sep 1, 2010, at 11:12 AM, joe smith wrote: > Hi, sorry if this is a re-post. > > I'm using a

Re: Newbie questions on NMS or CMS ActiveMQ consumers puzzle

2010-09-01 Thread James Green
AIUI unless your client is operating in an "auto-ack" mode, the client must "ack" each message it consumes to remove it from the queue. This means that if you do not acknowledge the message, it will remain for the next client. Pretty simple and prevents a client reading a message then immediately

Re: Unix shell script to stop activemq

2010-09-01 Thread James Green
Dejan, Two thoughts: 1. Reducing the time from 30s to nil may sound like the "right thing to do" but may actually create a new problem - administrators may now see some kind of problem but delay fixing the underlying problem because the server was killed pretty quickly anyway. Indeed some less ob

Stomp Header

2010-09-01 Thread qin ding
I tried to set some sendHeaders like replyTo and others,  when I sendTextMessage or simply send without passing header, the message reaches to the queue.  However, if I added the headers, message seems cannot reach to the queue. this is what I do in sendMessage function var headers.addHeader(S

Re: Newbie questions on NMS or CMS ActiveMQ consumers puzzle

2010-09-01 Thread ChicagoBob123
Thanks for the feedback! I read this statement a couple of times from the link you sent and wondered if someone could elaborate further. "If a consumer receives a message and does not acknowledge it before closing " Closing what exactly? Closing the queue? The Session? The link also mention

Help on Adium

2010-09-01 Thread joe smith
Hi, sorry if this is  a re-post. I'm using amq 5.4. adium 1.3.10 on macbook runing java 1.5 jvm. Trying to connect to default xmpp port 61222 but getting error back. Not sure where the problem is. Error msg on broker said "borken pipe." So I dump the tcp trace - see below. Thanks for the help

Re: Newbie questions on NMS or CMS ActiveMQ consumers puzzle

2010-09-01 Thread Timothy Bish
On Wed, 2010-09-01 at 07:51 -0700, ChicagoBob123 wrote: > The problem I have 2 consumers of one queue and each consumer only seems to > get 1/2 the messages. > > Here is some my consumer code. > The concept is easy I browse the queue and remove any messages that belonged > to my application > ba

Newbie questions on NMS or CMS ActiveMQ consumers puzzle

2010-09-01 Thread ChicagoBob123
The problem I have 2 consumers of one queue and each consumer only seems to get 1/2 the messages. Here is some my consumer code. The concept is easy I browse the queue and remove any messages that belonged to my application based on an id contained in the message. Then I acknowledge which shoul

SpringXML intercption of consumer connects and consumer msg retrievals possible?

2010-09-01 Thread Ben Stover
As you know Spring offers a mechanism called Interceptors which triggers a user bean whenever a certain interface call is issued internally Spring configuration go similar to: Is something similar within ActiveMQ? I am particularly interested in intercepting call wh

Re: Even after upgrade to ActiveMQ 5.4.0, still seeing negative #'s in the "Pending Msgs" column

2010-09-01 Thread Gary Tully
does jconsole show the same negative number? Do you have a test case? On 1 September 2010 13:52, Colleen Velo wrote: > After only running my 3 ActiveMQ brokers for short time, I am seeing > negative numbers in > the "Number of Pending Messages" column.  I started seeing this at 5.3.2 > (after upg

Re: Unix shell script to stop activemq

2010-09-01 Thread Dejan Bosanac
Thanks James. As promised I improved the stop logic a bit - https://issues.apache.org/activemq/browse/AMQ-2884 Would be great if you could test it. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/sny

Even after upgrade to ActiveMQ 5.4.0, still seeing negative #'s in the "Pending Msgs" column

2010-09-01 Thread Colleen Velo
After only running my 3 ActiveMQ brokers for short time, I am seeing negative numbers in the "Number of Pending Messages" column. I started seeing this at 5.3.2 (after upgrading from 5.2.0) and opened and issue on it: • https://issues.apache.org/activemq/browse/AMQ-2887 It was recomme

Jboss 5.1 and ActiveMQ 5.4: Endpoint did not release properly: null

2010-09-01 Thread Benoit Xhenseval
Hi Not sure why this new thread was put under a previous thread... Anyway, I have a bit more information and a suggestion. The ServerSessionImpl code does not report errors correctly: in the run() method, the catch is like this: } catch (Throwable e) { stale = true;

Re: Jboss 5.1 and ActiveMQ 5.3.2: Endpoint did not release properly: null

2010-09-01 Thread Benoit Xhenseval
Hi Same issue happens with ActiveMQ 5.4.0 and JBoss 5.1; Spring 2.5.5 This is a major hurdle for us; we can debug/try to find the issue with some guidance... A full ra.xml example (article/blog) with JBoss 5.1 would be very useful. I note that the ActiveMQ website only mentions that it was te

Re: is there a doc which provides an overview of ActiveMQ from a users perspective?

2010-09-01 Thread Dejan Bosanac
Did you check "ActiveMQ in Action" - http://www.manning.com/snyder/ - to see if it provides information you need? 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.ne