Announcement Announcement Module
Collapse
No announcement yet.
Thread safety in spring integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Thread safety in spring integration

    Beans/pojos created in SI project, are they thread safe? How do I ensure that the objects being created using pojos are thread safe (while defining private variables at the class level and doing dependency injection)?

    I apologize if I missed something obvious.

    Thanks.

  • #2
    POJO thread safety is responsibility of he developer. It can not possibly be addressed by the framework since we have no control over a POJO (after all its a POJO) other then native Spring scope management (e.g., singleton vs prototype)

    The internal SI components are thread-safe to the best of our knowledge and we have many tests that validate continuously it on every build.

    Comment


    • #3
      Thank you!

      Comment

      Working...
      X