Re: Message stuck on queue

2010-12-10 Thread watcher
An update so far. We stilll cant seem to find a resolution to this issue. We have noticed similar user having problems. See here. http://activemq.2283324.n4.nabble.com/Workaround-for-messages-stuck-in-a-queue-td2343453.html http://activemq.2283324.n4.nabble.com/Workaround-for-messages-stuck-in-a

Re: ActiveMQ slowness every 30 days

2010-12-10 Thread James Green
I would call this a mis-use of the technology. What you are trying to do is to restore state across application restarts. By all means have a client component listening for messages ("progress updates" if you like). However, it should update a database that your GUI should reflect. I can't commen

[ANNOUNCE] ActiveMQ-CPP Version 3.2.4 Released

2010-12-10 Thread Timothy Bish
Hi Everyone, Its official, AcitveMQ-CPP v3.2.4 has now been released. This release fixes an issue with Stomp that was causing the client to not be able to connect to AMQ. Also addresses some issues with the CMSTemplate classes that should improve their stability. The pkg-config scripts and li

Re: ActiveMQ slowness every 30 days

2010-12-10 Thread fenbers
artnaseef [via ActiveMQ] wrote: > Can you take a look at the web interface to see the destinations and > numbers of messages on each? Queues: ActiveMQ.DLQ: # pending 141990; # consumers 0; enqueued 21798; dequeued 0 Topics: (listing only the ones not beginning with ActiveMQ.Advisory...)

Re: ActiveMQ slowness every 30 days

2010-12-10 Thread fenbers
James Green-3 [via ActiveMQ] wrote: Why do you need to redeliver topic messages? To me you are bending a message queue to react like a database. I appreciate the reply.  Here's a little bit of background info...  A hydrologist takes 10 different actions on a particular river to issue

Slow throughput after several hundred messages

2010-12-10 Thread robert.sl...@misys.com
Hi, I am using ActiveMQ 5.4.1. Our application runs on GlassFish application server 2.1.1, however I have reproduced the slow behaviour described below using a J2SE standalone client as well. Our application uses multiple stateless session beans to concurrently produce messages which are stored i

Re: How to setup the Message Selectors on MessageConsumer

2010-12-10 Thread James Green
You put a custom header=value in when sending the message. In the consumer you specify the selectors to use when subscribing to the queue. You might want to consider using a queue per message type. If you don't want the producer to know in advance which queue is for which type of message, you cou

Re: ActiveMQ slowness every 30 days

2010-12-10 Thread James Green
Why do you need to redeliver topic messages? To me you are bending a message queue to react like a database. Does the log show anything? I'm wondering if the kahadb cleanup is kicking in and is eventually going over some threshold causing the slowdown. James On 9 December 2010 18:28, fenbers wr

Re: ajax handling fast messages

2010-12-10 Thread Alex Dean
On Dec 10, 2010, at 11:06 AM, Jeff Rose wrote: > Hi, > Based on the ajax chat example I've put together a small test page to > display messages that I post to a topic or queue using a php script. When I > send 10 messages in a for loop from PHP then the ajax handler is only > getting called wit

Re: Query regarding the working of a message queue

2010-12-10 Thread James Green
As I see it you have two choices: 1. Use selectors. Each broker would need to be network connected to the producer's broker with a fetch size of one message which might well limit performance but would avoid possible stuck messages. http://activemq.apache.org/selectors.html 2. Use a different que

How to setup the Message Selectors on MessageConsumer

2010-12-10 Thread madhavi
I am using ActiveMQ Queue for messaging. There is one producer for this queue and multiple consumers. I want to put some restriction on message, so that only one particular consumer can consume the message. I am trying to figure out on how to setup the Message Selectors on a JMS Queue Receiver(Mes