Comments (5)
Mark Pollack commented
This came up in the .NET implementation as well in a way. SimpleMessageListenerContainer in .NET is calling channel.queueDeclare(name) and not allowing for other queue creation options (durable, exclusive..) A boolean flag isn't enough, we need to accept org.springframework.amqp.core.Queue objects instead of names. Perhaps we can have a type converter perhaps of a simple string to a Queue to simplify configuration in XML.
from spring-amqp.
Mark Fisher commented
once the AmqpAdmin supports declaration of all Queues, Exchanges, and Bindings within an ApplicationContext (#1615), this will not need to be addressed on the SimpleMessageListenerContainer itself. Instead, the SMLC can just have the queue "name", while the AmqpAdmin will ensure that the Queue is declared upon startup.
from spring-amqp.
Lari Hotari commented
Could SimpleMessageListenerContainer directly support autodelete non-durable autogenerated queues?
It would be easier to consume messages from a topic exchange (pub-sub messaging) if you could just pass the exchangeName and routingKey to SMLC .
Is there already a nice way to listen to a topic exchange using autodelete non-durable autogenerated queues?
from spring-amqp.
Lari Hotari commented
My usecase is for grails-rabbitmq plugin: http://jira.codehaus.org/browse/GRAILSPLUGINS-2494
from spring-amqp.
Dave Syer commented
You can already use anonymous queues with the message listener container, as long as you configure it in Java. XML support will be added with #1670 and #1683.
from spring-amqp.
Related Issues (20)
- MessageProperties setDelay maximum value problem HOT 3
- ImmediateAcknowledgeAmqpException keeps the message in the queue HOT 10
- TraceId propagation to the new thread local HOT 4
- Wrong ClassLoader is used for message deserialization when devtools are active
- Wrong ClassLoader is used for message deserialization when devtools are active HOT 1
- Kotlin suspend functions return type is incorrect HOT 3
- Kotlin suspend functions return type is incorrect HOT 1
- Channel cache leak when no answers from broker for pending confirms
- Channel cache leak when no answers from broker for pending confirms HOT 1
- Invoke RabbitListenerErrorHandler when the batch of the listener is enabled HOT 2
- Document that micrometer observations aren't started for batch listeners HOT 4
- Unable to access AMQP Channel from RabbitListenerErrorHandler in case of MessageConversionException HOT 1
- Deadlock when reaching channel limit in DirectMessageListenerContainer HOT 5
- Remove deprecated method in the `RabbitListenerErrorHandler`
- DefaultMessagePropertiesConverter#toMessageProperties should handle x-delay in Short HOT 4
- DefaultMessagePropertiesConverter#toMessageProperties should handle x-delay in Short HOT 1
- Memory leak with AsyncRabbitTemplate HOT 5
- Memory leak with AsyncRabbitTemplate HOT 1
- Use JDK `ObjectInputFilter` instead of calling `AllowedListDeserializingMessageConverter::checkAllowedList` in `ConfigurableObjectInputStream::resolveClass` HOT 1
- Fix RabbitMQ x-death header documentation HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-amqp.