org.springframework.jms.core.JmsTemplate only supports
one queue using defaultDestination…..
what do I need to do when I have different in and out bound queue?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ve answered your own question – yes,
JmsTemplateonly provides one default destination.However, all of the various send/receive methods on
JmsTemplateare overloaded with versions that allow you to specify a different destination.For example, as well as
send(MessageCreator)there is alsosend(Destination, MessageCreator). All of the methods are overloaded like this.