You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by lxgao <lx...@gmail.com> on 2007/08/16 11:48:10 UTC

durable queue consumer could not receiver all message from three queue producer.

hi all:
   I'm first use above command run queue consumer: 
     java.exe org.apache.activemq.ConsumerTool tcp://localhost:61616 false
FOO.TEST true 
   then run three producer using above command three times:
    java.exe org.apache.activemq.ProducerTool tcp://localhost:61616 false
FOO.TEST true 500 1024

   activeMQ.xml user MS SQL Server:
    <bean id="sqlserver-ds" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
		<property name="driverClassName"
value="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
		<property name="url"
value="jdbc:microsoft:sqlserver://localhost;DatabaseName=mq;SelectMethod=cursor"/>
		<property name="username" value="sa"/>
		<property name="password" value="sa"/>
		<property name="poolPreparedStatements" value="true"/>
		<property name="defaultAutoCommit" value="false"/>
		<property name="defaultTransactionIsolation" value="2"/>
   </bean>
    At last there are 186 message in ACTIVEMQ_MSGS of MS SQL Server not
consumed.

    When I restart activemq server and  the consumer , those message will
consumed.

-- 
View this message in context: http://www.nabble.com/durable-queue-consumer-could-not-receiver-all-message-from-three-queue-producer.-tf4278616s2354.html#a12178332
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.