You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "alan xie (JIRA)" <ji...@apache.org> on 2008/05/13 04:25:43 UTC
[jira] Commented: (AMQ-1718) broker don't delivery message to
consumer
[ https://issues.apache.org/activemq/browse/AMQ-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42754#action_42754 ]
alan xie commented on AMQ-1718:
-------------------------------
and the jmsContainer object is injected a "transactionManager" property by spring's autowire=byName.
> 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.