performance of the different amq persistence solutions

2008-04-24 Thread spiiff
Hi, we have a performance problem with ActiveMQ 5.0.0. I wrote a simple Java application that stores 5000 small object messages into a queue. At the same time a callback is listening on the queue and consuming the messages. My message broker/activeMQ is started standalone, my clients are

Re: AMQ 5.1 - Re-queued msg are redelivered again after restart

2008-03-24 Thread spiiff
Hi, in the JMS spec the following is specified: It is possible for a listener to throw a RuntimeException; however, this is considered a client programming error. Well-behaved listeners should catch such exceptions and attempt to divert messages causing them to some form of application-specific

org.apache.activemq Queue mbean doesn't work anymore after brokerService stop/start

2008-03-18 Thread spiiff
Hi, I have a problem with the information about queues, given by the mbeans. We are using on of the latest snapshots of activemq5.1 I am doing the following: 1.) start embedded broker 2.) initialize connection and session 3.) init producer to a queue 4.) send messages to queue 5.) consume

ActiveMQMessageStore in comparison to HighPerformanceJournal of AMQ4

2008-02-21 Thread spiiff
Hi, some short questions on the amq message store.. Is it an enhancement of the HighPerformance Journal of the amq4x versions? Is it faster then the (Howl - like) HighPerformance Journal of amq4? Can I couple a database to it, so after a delay messages are persisted to oracle for example? I

Re: message expiration

2007-11-05 Thread spiiff
); } ( from class JournalPersistenceAdapter) the periodic clean up is disabled and the database is cleaned only during checkpoint operation (I guess...) spiiff wrote: Hi, one question about the message expiration in combination with topics. I know how to configure the time-to-live. A message first

configure checkpoint interval?

2007-10-29 Thread spiiff
Hi, can anybody tell me how to configure the checkpoint interval? I was searching the website and the forum and I found nothing. Is it somewhere in the API? Regards, Matthias -- View this message in context: http://www.nabble.com/configure-checkpoint-interval--tf4713523s2354.html#a13473498

message expiration

2007-10-29 Thread spiiff
Hi, one question about the message expiration in combination with topics. I know how to configure the time-to-live. A message first resides inside the journal. After the checkpointing(how to configure checkpointing??), it is persisted in a database (if JDBC is configured). If the time-to-live

Re: receiving old messages when restartin embedded broker - problem with persistence/auto_acknowledge?

2007-10-26 Thread spiiff
the correct messages, the other one gets them all. To better understand the behaviour look inside the database table ACTIVEMQ_ACKS and watch the LAST_ACKED_ID. After shutdown, only one is updated.. bye, m. Henning Sprang wrote: Hi Matthias, spiiff wrote: Turning off the batchedStatements did

receiving old messages when restartin embedded broker - problem with persistence/auto_acknowledge?

2007-10-16 Thread spiiff
Hello, we are facing a strange problem. I am running an embedded broker in my unit test: URI activemqConfigurationUri = new URI(xbean:conf/activemq.xml); brokerService =

configuring the BrokerFactory, not using xbean

2007-10-05 Thread spiiff
Hi, we want to use activemq for the messaging in our system. and we want to start it embedded(for performance reasons) with the BrokerFactory. But we don't want to use xbean to configure the broker, because we don't want the spring jars inside our classpaths only for reading a configuration. We