A system for processing multiple potentially related requests is provided.
The system includes a pending request queue, a related request queue, an
in-process queue, and an adapter. The pending request queue receives
requests from at least one application. The in-process queue receives a
first request from the pending request queue when no other requests are
present in the in-process queue related to the first request. The related
request queue receives the first request from the pending request queue
when other requests are present in the in-process queue related to the
first request. The adapter monitors the pending request queue, related
request queue, and in-process queue. The adapter also communicates
information related to the requests from the pending request queue to the
related request and in-process queues as appropriate. The adapter also
communicates information related to the requests from the in-process
queue to a processor for processing the requests.