Status: Accepted
Owner: brainslog
CC: [email protected]
Labels: Component-Diameter Type-Enhancement Priority-Medium Version-1.4.0
Release-Type-Beta Roadmap-Fix
New issue 2275 by brainslog: Diameter Resource Adaptors proper
startActivity*() methods
http://code.google.com/p/mobicents/issues/detail?id=2275
Use proper startActivity*() methods in Diameter RAs, according to JSLEE 1.1
spec:
Situation:
Transacted resource invoked to create Activity, e.g. SBB creates a
NullActivity.
Resource Adaptor Guideline:
1. Perform operation on the resource to have it start the Activity.
2. Allocate an Activity Handle.
3. InvokestartActivityTransacted on SLEE Endpoint.
--
Situation:
Non-transacted resource invoked to create Activity within a transaction,
e.g. an SBB invokes a non- transacted resource that represents a network
proto- col stack.
Resource Adaptor Guideline:
1. Perform operation on the resource to have it start the Activity.
2. Allocate an Activity Handle.
3. InvokestartActivitySuspended on SLEE Endpoint.
--
Situation:
Non-transacted resource invoked to create Activity without a transaction,
e.g. a network protocol stack invokes a Resource Adaptor to handle a new
incom- ing request and Resource Adaptor has to start a new Activity to
process the incoming request.
Resource Adaptor Guideline:
1. Perform operation on the resource to have it start the Activity (often
implied by receipt of a mes- sage from the protocol stack).
2. Allocate an Activity Handle.
3. InvokestartActivity onSLEEEndpoint.