broker don't delivery message to consumer
-----------------------------------------

                 Key: AMQ-1718
                 URL: https://issues.apache.org/activemq/browse/AMQ-1718
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.1.0
         Environment: os:suse10
            Reporter: alan xie


I have a consumer that is a spring's DefaultMessageListenerContainer. after it 
consume some message, it  receive null  from the queue ,while there are a lot 
of message on the queue that the consumer receive from. the client and server 
consoles have  any error info. my configures are below:
client:
<bean id="jmsFactory" 
class="org.springframework.jms.connection.SingleConnectionFactory">
        <property name="targetConnectionFactory">
          <bean class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL">
                  <value>tcp://localhost:61616</value>
                </property>
                <property name="userName" value="tester"></property>
                <property name="password" value="test"></property>
                <!-- 
                <property name="dispatchAsync" value="false"/>
                -->
                <property name="exclusiveConsumer" value="true"></property>
              </bean>
        </property>
      </bean>
    <bean id="messageListener" 
class="com.sitechasia.ebiz.peninsula.datasync.PeninsulaConsumer">
        </bean>
        <bean id="jmsContainer" 
class="org.springframework.jms.listener.DefaultMessageListenerContainer" 
lazy-init="false">
                <property name="connectionFactory" ref="jmsFactory"/>
                <property name="destinationName" value="peninsula.res2web"/>
                <property name="concurrentConsumers" value="1"/>
                <property name="maxConcurrentConsumers" value="1"/>
                <property name="messageListener" ref="messageListener"/>
        </bean>
--------------------------------------------------------
server:
    it is a normal config.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to