Comment #1 on issue 2067 by EMMartins: SLEE not compliant with JSLEE 1.1, par. 8.6.6 (concurrency control)
http://code.google.com/p/mobicents/issues/detail?id=2067

From the specs:

"The SLEE event router guarantees that there will be no concurrent execution within a single SBB object. The SLEE will invoke all the methods of an SBB object serially. These methods include the event handler methods, the local interface methods, and the life cycle callback methods."

This is not SbbLocalObject or Sbb Entity related, it is only the Sbb Object, in your case multiple Sbb Objects are used.

"The SLEE event router guarantees that two or more SBB entities will not concurrently receive events on any single Activity Context. This allows the SBB Developer to develop event handler methods without having to consider the implications of multiple execution threads that may inter- act with the same Activity Context and the same underlying Activity object."

This says that there are no concurrents events for an activity, in Mobicents we go beyond that and ensure that one sbb entity concurrent events handling is serialized.

Resuming, there is no bug, but I see no prob in providing option to enforce full sbb entity access serialization, as a matter of fact the leak fixed for 2.2.1, Issue 1981, probably solves this, since the root sbb entity is now always locked. Please update from SVN and check it out if anything else is needed to provide this feature...


Reply via email to