we are trying to use spring JMSTemplate and we have implemented two different ways of synchronous messaging. one using jmsTemplate.recieve() and another using SessionCallback interface and implementing doInJms method, where we are sending a message to one queue and trying to recieve the response in another queue, based on correlationId. My question is what is the difference between these two approach and what is the best option in these two. please elaborate since iam totally not able to get info on SessionCallback.
can we create queue in IBM or only access already created queue.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire