[ https://issues.apache.org/jira/browse/QPIDJMS-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105598#comment-17105598 ]
Stephan Siano commented on QPIDJMS-504: --------------------------------------- Oh, thanks. This parameter helps a lot. Nevertheless, it would be good if there was a way to find out why the persistent queues in RabbitMQ don't work with qpid-jms. > Connections hangs when trying to connect to a RabbitMQ persistent queue > ----------------------------------------------------------------------- > > Key: QPIDJMS-504 > URL: https://issues.apache.org/jira/browse/QPIDJMS-504 > Project: Qpid JMS > Issue Type: Bug > Components: qpid-jms-client > Affects Versions: 0.51.0 > Reporter: Stephan Siano > Priority: Major > > When I try to connect to a persistent queue on a RabbitMQ broker with > activated AMQP 1.0 plugin, the connection hangs for an infinite time (or at > least for a very long time). > There is no error, the connection just hangs. The tack trace in this > situation for a producer is: > {noformat} > BalancedProviderFuture(Object).wait() line: 502 > BalancedProviderFuture.sync() line: 136 > JmsConnection.createResource(JmsResource, ProviderSynchronization) line: 693 > JmsMessageProducer.<init>(JmsProducerId, JmsSession, JmsDestination) line: 73 > JmsQueueSession(JmsSession).createProducer(Destination) line: 664 > JmsQueueSession.createProducer(Destination) line: 97 > {noformat} > The stack trace for a consumer is: > {noformat} > BalancedProviderFuture(Object).wait() line: 502 > BalancedProviderFuture.sync() line: 136 > JmsConnection.createResource(JmsResource, ProviderSynchronization) line: 693 > JmsMessageConsumer.<init>(JmsConsumerId, JmsSession, JmsDestination, String, > String, boolean) line: 125 > JmsMessageConsumer.<init>(JmsConsumerId, JmsSession, JmsDestination, String, > boolean) line: 82 > JmsQueueSession(JmsSession).createConsumer(Destination, String, boolean) > line: 478 > JmsQueueSession.createConsumer(Destination, String, boolean) line: 70 > JmsQueueSession(JmsSession).createConsumer(Destination, String) line: 466 > JmsQueueSession.createConsumer(Destination, String) line: 59 > JmsQueueSession(JmsSession).createConsumer(Destination) line: 458 > JmsQueueSession.createConsumer(Destination) line: 48 > {noformat} > I am aware that the AMQP 1.0 plugin in RabbitMQ is not very mature, but I > don't think that the client threads should be blocked forever even when > trying to communicate with misbehaving servers. > The issue will not happen with transient queues on RabbitMQ (here everything > works as expected). -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org