activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy (JIRA)" <>
Subject [jira] Created: (AMQ-962) Messages are read from queue but not removed
Date Fri, 06 Oct 2006 21:09:09 GMT
Messages are read from queue but not removed

                 Key: AMQ-962
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, JMS client
    Affects Versions: 4.0.1
         Environment: Java Virtual Machine: Java HotSpot(TM) Server VM version 1.5.0_06-b05JIT

compiler:  HotSpot Server Compiler
Operating System:  Windows XP 5.1
Architecture: x86
Number of processors:  1
Total physical memory:   1,048,048 kbytes
Free physical memory:     107,240 kbytes
Committed virtual memory:     374,048 kbytes
Total swap space:   2,518,944 kbytes
Free swap space:     721,416 kbytes

            Reporter: Randy
            Priority: Critical
             Fix For: 4.1

Using Spring, configured a VM message broker (non-persistant) and a message consumer that
reads messages from queue.

Messages are read from queue, but despite calling message.acknowledge(); messages remain on
the queue (and consume memory).

I turned off optimiseAcknowledge.

May be related to bug# AMQ-716.

	  <amq:broker id="broker" useJmx="true" persistent="false">
	      <amq:transportConnector uri="tcp://localhost:0" />

	 <!-- a pooling based JMS provider -->
	  <bean id="jmsFactory" class="org.apache.activemq.pool.PooledConnectionFactory">
	    <property name="connectionFactory">
	      <bean class="org.apache.activemq.ActiveMQConnectionFactory">
	        <property name="brokerURL">
	        <property name="optimizeAcknowledge">

	  <bean id="simpleJmsTemplate" class="org.springframework.jms.core.JmsTemplate">
	    <property name="connectionFactory">
	    	<ref local="jmsFactory" />

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message