开发者

Which use cases make temporary JMS queues a better choice than persistent queues?

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 开发者_StackOverflowapplication 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?


Like you said, I use temps for responses. Perms are good if you have a known fixed system because like you said you have to know before hand or using a naming directory.

The real question is, why are you having trouble maintaining connections?


Does this help ?

http://download.oracle.com/docs/cd/E13222_01/wls/docs90/jms/design_best_practices.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜