Application connector parallelism in enterprise application integration systems
View Patent ↗A system and method for responding to requests for processing made by an integration broker to an application having a single threaded application programmer interface, comprising receiving a request for processing; determining whether the received request is event-triggered or call-triggered; sending the request to a slave process assigned to event-triggered requests, when the request is event-triggered; and sending the request to a slave process assigned to call-triggered requests, when the request is call-triggered.
1. A method for responding with a connector to requests, comprising using the connector to perform steps of:
spawning, with the connector, at least one connector master process and a plurality of connector slave processes, each of the connector processes having a connection to an application;
receiving at the connector master process a request for processing from an integration broker requesting a service of an application that has a single-threaded or non-reentrant application programming interface;
determining whether the request is of a call-triggered or event triggered type;
determining whether the connector slave process is available;
sending the request to at least one of the plurality of connector slave processes normally dedicated to that type of request, when the connector slave process is available;
if the request is event-triggered, sending the event-triggered request to a connector slave process normally assigned to call-triggered requests when there are not any available connector slave connector processes assigned to event-triggered requests; and
if the request is call-triggered, sending the call-triggered request to a connector process normally assigned to event-triggered requests when there are not any available connector slave connector processes assigned to call-triggered requests.