开发者

Glassfish/JMS: Does each Destinatation Resource require its own Connection Factory?

I'm learning about JMS/Glassfish. I plan on having multiple message queues (JMS destination resource) set up in the same Glassfish instance. Do I require a separate JMS connection factory for each queue? All the examples I found only use o开发者_StackOverflowne queue, so it's not clear.

Thanks!


No you can create multiple destinations with one factory.


Definitely can reuse a connection factory for multiple destinations. Its interesting how unclear some of the jms basics are. I remember googling for quite a while and I had to try it out myself to verify this.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜