ActiveMQ processes in batches

2009-07-02 Thread torefj
Hi. I am noticing some strange behavior from our activeMQ consumer. The producer is sending messages to activeMQ throughout the day, and the messages seem to arrive at the broker. However, the consumer is not notified of these messages. 2-3 times a day, the consumer is notified and starts proc

Re: Getting Durable Messages After Failover

2009-07-02 Thread DCMH
Thanks for answering. But my problem is that the 2 brokers are up and running, scenario as below: AB C broker 1 + - broker 2

Re: ActiveMQ - Unable to limit temp store

2009-07-02 Thread Gary Tully
I think you may be experiencing https://issues.apache.org/activemq/browse/AMQ-2064 - a 5.3-SNAPSHOT could help 2009/7/2 Champax > > Hello, > > after several days of testing, i am facing the following issue : I am > unable > to limit the physical space of temp storage used by AMQ, and temp_store

ActiveMQ - Unable to limit temp store

2009-07-02 Thread Champax
Hello, after several days of testing, i am facing the following issue : I am unable to limit the physical space of temp storage used by AMQ, and temp_store is growing ever and ever... === = Scenario : === - One JVM, handling several producers, spam

Re: Queue does not drain completely.

2009-07-02 Thread mjustin
If it depends on message number / message size, maybe the broker needs more buffer space, you can try increasing the memoryLimit in the activemq.xml file. It helped with a similar problem where the producer stopped after a small number of messages until I increased the value to 50mb.

Re: a question about TTL(time to live) ...?

2009-07-02 Thread Gary Tully
This should make 5.3, it is covered by https://issues.apache.org/activemq/browse/AMQ-1112 which I hope to complete in the next few days. 2009/7/2 Dan Tran > > > the fix will be in 5.3 perhaps? > > -D > > rajdavies wrote: > > > > Unfortunately not in the current release - though using a Queue > >

Re: a question about TTL(time to live) ...?

2009-07-02 Thread Dan Tran
the fix will be in 5.3 perhaps? -D rajdavies wrote: > > Unfortunately not in the current release - though using a Queue > browser will have the same result - in forcing expired messages to be > removed > > On 15 May 2009, at 08:55, angel7 wrote: > >> >> thank you for your kind >> >> So,

Re: Queue does not drain completely.

2009-07-02 Thread RakeshRay
I tried with 1000 messsages or 800 byte/each, that is small enough. I removed can_read before read_frame and seems behaving okay. Reading more to figure out if can_read is really required in my case or not! Thanks for the other suggestions, though. mjustin wrote: > > I am using 5.2 and 5.3-Snaps

Re: Queue does not drain completely.

2009-07-02 Thread mjustin
I am using 5.2 and 5.3-Snapshot. Have you tried to test it with a smaller number of messages, and without transactions? RakeshRay wrote: > > > Hi, > We have written a wrapper around and internally it is using using timeout > feature. > What version of Active MQ are you using? > > - -

Re: Queue does not drain completely.

2009-07-02 Thread RakeshRay
Hi, We have written a wrapper around and internally it is using using timeout feature. What version of Active MQ are you using? sub read { my ($self) = @_; # after reading, we also need to acknoledge the read, but keep them both as part of the same transaction

Re: Queue does not drain completely.

2009-07-02 Thread RakeshRay
Hi, Hoover. We have written a wrapper around and internally it is using receive_frame()...Here is the wrapper code. sub read { my ($self) = @_; # after reading, we also need to acknoledge the read, but keep them both as part of the same transaction # still need

Deleting message with corrupted buffer

2009-07-02 Thread MattKnight
We're getting the following error on some of our ActiveMQ queues. The queues will run fine most of the time, and then the queue will corrupt. The consumer can't process the message and just dies. java.lang.RuntimeException: java.io.IOException: Could not read message ID:localhost-38991-1246487154

Using Oracle for persistence - DB sessions not dying

2009-07-02 Thread chu_man_fu
I am using oracle as my persistence store. ActiveMQ is running via activemq-web-console-5.2.0.war which is embedded into JBoss 4.2.2GA on a linux box. The config is thus: Which works. The only problem is my D

Re: problems deploying activemq-web-console to geronimo

2009-07-02 Thread lassiege
I have nearly the same kind of problem Did you manage to find the solution ? JerryShea wrote: > > I'm hoping someone will have seen this before. I have built the > activemq-web-console from source from the apache-activemq-4.1.1 > distribution and am trying to deploy the war to geronimo (2.0.2).

Message Selector

2009-07-02 Thread Nawaz Ahmed
Hi, I went through the Message Selectors concept available in the following link: http://activemq.apache.org/selectors.html I have doubt regarding the message Selector expression: I want to know which expressions are supported by the ActiveMQ Message Selectors . I have

Re: HELP PLEASE URGENT PROBLEM

2009-07-02 Thread George H
URGENTLY READ http://activemq.apache.org/faq.html On Thu, Jul 2, 2009 at 12:59 PM, Gabriel1982 wrote: > > hello, > > i have a problem of scalability , and i like to use directly a database to > store messages > > i like to ask if there is a configuration so that active mq don't use never > system

Re: Queue does not drain completely.

2009-07-02 Thread Roger Hoover
Maybe you meant to call $stomp->receive_frame() in the while loop instead? On Wed, Jul 1, 2009 at 1:15 PM, RakeshRay wrote: > > Just installed Active MQ 5.2. > Using Stomp, inserted 5000 msgs and try to read the same with > while ( my $msg = $stomp->read() ) { >$stomp->commit(); >

Re: Queue does not drain completely.

2009-07-02 Thread mjustin
I don't know the PHP Stomp client very well (but a Delphi implementation). $stomp->read() seems to return immediately without waiting for the next message. There might be a different method $stomp->read(receivetimeout), which waits for the given time (in milliseconds) before it gives up. Michael