Announcement Announcement Module
Collapse
No announcement yet.
JmsTemplate multiple destinations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JmsTemplate multiple destinations

    Hi all,
    As regards configuring JmsTemplates, which is better:

    1) Have one jmsTemplate bean and use it to send to multiple destinations (topics in my case)

    2) Have one jmsTemplate per destination and use it exclusively for that destination.

    When I say better, I mean performance-wise as both are viable ways of working. Just wondering if multiple templates is overkill.

    Also, on a related note, does anyone have examples of handling temporary queues on the receiver/server side using spring as I cant seem to get them to work i.e. client doesnt get any response, even though I set the replyTo of the relply message.

    Thanks for reading
    /Tom

  • #2
    Does anyone have any opinions on the multiple templates front???

    Comment


    • #3
      It doesn't make much difference either way; use whichever you prefer

      Comment

      Working...
      X