Skip to content

Send & Receive with Temporary queues is create a noLocal consumer #712

Closed
@sarah-micallef

Description

@sarah-micallef

When connecting to Qpid, the reply message is not being received when using the send and receive methods of the RabbitTemplate. I suspect that this is because the consumer created to receive the replies is configured as noLocal (see https://github.com/spring-projects/spring-amqp/blob/1.7.x/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/core/RabbitTemplate.java#L1297).

This article (https://www.rabbitmq.com/interoperability.html#qpid-python-tests) points out that no-local consumers are not supported by RabbitMQ which explains why replies are received irrespective of the no-local property when using RabbitMQ.

Should the consumer created to receive the reply be configured with the noLocal property set to false?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions