You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using, java 8
spring boot 2.5.0
spring jms 5.3.7
ibm mq 8.0.0.5
using spring boot and application.yml file i have set ibm.mq.queueManager , ibm.mq.channel, ibm.mq.connName and using @Autowired
JmsTemplate jmstemplate;
I am able to successfully connect to the MQ
but i have second Queuemanager, want to know how to instantiate jmstemplate2 with new set of values in application.yml which are named as ibm.mq2.queueManager , ibm.mq2.channel, ibm.mq2.connName
Is there a easier way to configure it, like below @Autowired @qualifier("ibm.mq")
JmsTemplate jmstemplate;
Using, java 8
spring boot 2.5.0
spring jms 5.3.7
ibm mq 8.0.0.5
using spring boot and application.yml file i have set ibm.mq.queueManager , ibm.mq.channel, ibm.mq.connName and using
@Autowired
JmsTemplate jmstemplate;
I am able to successfully connect to the MQ
but i have second Queuemanager, want to know how to instantiate jmstemplate2 with new set of values in application.yml which are named as ibm.mq2.queueManager , ibm.mq2.channel, ibm.mq2.connName
Is there a easier way to configure it, like below
@Autowired
@qualifier("ibm.mq")
JmsTemplate jmstemplate;
@Autowired
@qualifier("ibm.mq2")
JmsTemplate jmstemplate2;
or do i have to follow this approach https://stackoverflow.com/questions/49520412/spring-boot-multiple-jms-connections
can you pls guide me
The text was updated successfully, but these errors were encountered: