DEV Community

Discussion on: Using multiple JMS servers with Spring Boot

Collapse
ctopcanada profile image
ctopCanada

if the situation is that two channels(One is for GET, the other is for PUT), one queue manager, one queue, can I use the same idea for that?

Collapse
adzubla profile image
Eduardo Issao Ito Author • Edited

Yes, you would have two ConnectionFactories with distinct channels. Note that if you are using the same queue manager name for both ConnectionFactories, you should change how the the endpoint Id is constructed.