[rabbitmq-discuss] rabbitmq tx.commit problem
Hyperion
xzhang84 at gmail.com
Tue Apr 23 13:16:34 BST 2013
hi,
we just found a strange problem in the logs of one node of RabbitMQ cluster. but from web console and consumer & publisher there is no any warning or err log.
=ERROR REPORT==== 23-Apr-2013::13:35:24 ===
connection <0.11362.83>, channel 2 - error:
{amqp_error,precondition_failed,"channel is not transactional",'tx.commit'}
sasl.log
=SUPERVISOR REPORT==== 23-Apr-2013::13:35:32 ===
Supervisor: {<0.12837.83>,
rabbit_channel_sup_sup}
Context: shutdown_error
Reason: shutdown
Offender: [{pid,<0.12839.83>},
{name,channel_sup},
{mfa,{rabbit_channel_sup,start_link,[]}},
{restart_type,temporary},
{shutdown,infinity},
{child_type,supervisor}]
We use spring-amqp, and here is our consumer usage.
default-autowire="byName">
<bean id="rabbitConnectionFactory" class="org.springframework.amqp.rabbit.connection.CachingConnectionFactory"
p:username="${mdc_rabbitmq.user}" p:password="${mdc_rabbitmq.password}"
p:addresses="${mdc_rabbitmq.cluster}" p:virtualHost="${mdc_rabbitmq.vhost}">
</bean>
class="org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer"
p:connectionFactory-ref="rabbitConnectionFactory" p:queueNames="mobile.group.poi.add,mobile.group.poi.modify"
p:messageListener-ref="poiMqConsumer"/>
<bean
from poiMqConsumer's log do receive message and no exception.
after by google I found this situation, but they got a problem in consumer'code, not like me in RabbitMQ's log.http://forum.springsource.org/archive/index.php/t-131286.html
thanks a lot for any help and suggestion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130423/b036477e/attachment.htm>
More information about the rabbitmq-discuss
mailing list