Qualities of Service How to
Websphere Integration Developer v612
Contact us...
Contents
Introduction
Related links | |
Qualities of Service Qualities of service can be added to: -
Interfaces -
References -
Implementation | |
How to add qualities of service qualifiers to Interfaces
Related links | |
Interfaces Interface qualifiers are used to advertise the qualifiers supported by a target service, and therefore represent a contract with a client of the service. Qualifiers establish the preferred interaction style for the interfaces. You can add the following qualifiers to interfaces: - Data validation
Determines whether the input data should be validated against its definition (ie. the XSD that describes the data). - Event sequencing
Places a control on the order in which the runtime environment processes events. When two or more events are received that invoke any of those operations that have the same key, the event sequencing qualifier ensures that they are processed in the order they are received. Without such a qualifier, the multithread runtime environment does not necessarily process events in the order that they are received. - Join activity session
Determines whether or not the hosting container will join any propagated (client) activity session. - Join transaction
Determines whether or not the hosting container will join any propagated (client) transaction. - Security permission
Specifies a role, which is a semantic grouping of permissions that a given type of users must have to use an operation in an interface. The identity of the caller must have this role in order to be permitted to call the interface or operation. If no security permission is specified, then no permissions are checked and all callers are permitted to call the interface or operation. | |
How to add qualifiers to an interface Interface qualifiers can be applied at three levels of a component or import: - For all of its interfaces
- For an individual interface
- For an individual operation of an interface
To add qualifiers, click on Interfaces or CCam bil_DateTime_I or getTimeOfDay and then click Add. Select the qualifier you need from the pop-up window. | All interfaces (Interfaces) | Individual Interface (CCambil_DateTime_I) | Individual operation of an interface (getTimeOfDay) | | | | |
How to add qualities of service qualifiers to References
Related links | |
References References qualifiers specify the reliability for asynchronous invocations and whether a target component’s methods should be federated as part of any client transaction. You can add the following qualifiers to References:
-
Asynchronous invocation Determines if asynchronous invocations should occur as part of any client transaction.
-
Reliability Determines the quality of an asynchronous message delivery. In general, better performance usually means less reliable message delivery. With an Assured specification, the client application cannot tolerate the loss of a request or response message. With a Best effort specification, the client application can tolerate the possible loss of the request or response message.
-
Request expiration The length of time after which an asynchronous request will be discarded if it has not been delivered, beginning from the time when the request is issued.
-
Response expiration The length of time that the runtime environment must retain an asynchronous response or must provide a callback, beginning from the time when the request is issued.
-
Suspend activity session Prevents the propragation of the activity session context to a target component. This applies when the target is invoked using the synchronous invocation.
-
Suspend transaction Determines whether the invocation of a target service runs completely within the client's global transaction. This qualifier only applies to synchronous invocations. | |
How to add qualifiers to references Reference qualifiers can be applied at two levels of a component or import: - For all of its references
- For an individual reference
To add qualifiers, click on References or CCam bil_DateTime_IPartner and then click Add. Select the qualifier you need from the pop-up window. | All References (References) | Individual References (CCambil_DateTime_IPartner) | | | |
How to add qualities of service qualifiers to Implementation
Related links | |
Implementation Qualifiers for implementation identify the service's authority and express its requirements for a transactional environment. You can add the following qualifiers to an Implementation: -
Activity session Determines if the component's processing will be executed under an activity session. An activity session is an alternative unit-of-work scope to the one provided by global transaction contexts. An activity session context can be longer lived than a global transaction context and can encapsulate global transactions.
-
Security identity Specifies the identity under which the implementation executes at run time.
-
Transaction The transaction qualifier determines the logical unit of work that the component's processing runs. | |
How to add qualifiers to implementation Select Properties/Implementation tabs. In the Implementation window, click Add and select the qualifier you need. | |
No comments:
Post a Comment