Announcement Announcement Module
Collapse
No announcement yet.
MessageChannelTemplate thread-safe? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MessageChannelTemplate thread-safe?

    Hello,

    is the MessageChannelTemplate implementation thread-safe? I am considering if I should create a new instance for each invocation of a service method or not.

    Thanks,
    Dimo

  • #2
    If relying the "defaultChannel" property, then once configured with the default channel, a MessageChannelTemplate can be shared for any interaction with that channel. The send/receive methods that expect a channel argument can also be used on a shared template instance.

    Comment

    Working...
    X