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
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
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.