开发者

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

开发者 https://www.devze.com 2023-03-27 23:14 出处:网络
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 queu

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

精彩评论

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