Which use cases make temporary JMS queues a better choice than persistent queues?
- by Stephen Harmon
When you are designing a JMS application, which use cases make you pick temporary queues over persistent queues?
We use temporary queues for response messages. We're having some issues maintaining connections to the temp queues, though, so I am testing persistent response queues, instead. One clear disadvantage of persistent queues is that your application has to "know" about them beforehand. If that's not a big deal, though, are there use cases where temp queues are the obvious choice?