|
| Copyright © TIBCO Software Inc. All Rights Reserved |
• Facade The facade provides the interfacefor the gateway to receive requests for a given API with a given binding (for example, REST over HTTP or SOAP over JMS).
• Router The router receives requests from the facade and routes them to the appropriate target service handler.
• Target The target component calls the appropriate external service to execute the request.A facade service is any application service or API that the gateway offers. Typically the service is an intermediary to one (or more) target services outside the gateway.Figure 4 Facade Service and Target Services
• Facade to Router After the request has been received by the facade request handler and before it is been passed to the router.
• Router to Target After the request has been routed but before it is passed to the service endpoint handler.
• Target to Router After the response has been received from the target handler and before it is passed to the router.
• Router to Facade request handler After the response has been routed from the router to the facade request handler and before the response is sent back to the original requestor.For more information on mappings and transformations, see the “Mappings and Transformations” section in Chapter 5, “Transaction Pipeline Processing,” in the TIBCO API Exchange Gateway User’s Guide.
• Facade throttles Support service level agreements with consumers, for example, Partner and Partner plus Operations.
• Target throttles Support service level agreements with providers, and are applied on the Target Service operation.
• Rate The rate throttle is a simple throttle that allows the requests to pass-through until a limit is reached for a time interval. The rate throttle is always increased on the request. A throttle may be incremented by a count of requests, size of a payload or it can be based on content; for example, a throttle can be based on order totals.
• Quota The quota throttle is similar to the rate throttle, but it uses a much larger count over much longer intervals (such as days). The quota throttles are increased on the request. For a quota throttle, you must define throttle interval (in hour) and throttle max count.
• High Water Mark (concurrent requestor) High Water Mark throttle is similar to the Rate Throttle, but this throttle also decrements the count after the passed-on requests are completed and the response is ready to return to the requestor. This means that the High Water Mark throttles are increased on the request and decreased on the response. You must define a throttle max count for a high water mark throttle.
• Error Error Throttles act as a Rate Throttle in logic, but this throttle counts the error responses, as opposed to the requests. The throttle count of an error throttle is increased on the error responses.
• Request/Acknowledge (One-Way) A consumer sends a message to a provider that provides a status response. This is also known as Fire and Forgot, and In-Only.
• Synchronous Request-Response (Sync) A consumer sends a message to a provider with expectation of response over the same client connection. The provider sends a response message or fault and the consumer responds with a status.
• Asynchronous Request-Response (Async) A consumer sends a message to a provider with expectation of a callback of a response. The provider acknowledges the request. The provider then sends a response message or fault and the consumer responds with a status.
• Consume Message A provider sends a message to a consumer.
|
| Copyright © TIBCO Software Inc. All Rights Reserved |