System and method for automatically generating computer code for message flows
Abstract
Computer-executable code is automatically generated for a message flow in a message queuing infrastructure by determining a type of the message flow, inputting message flow parameters, and generating the computer-executable code based on the type of the message flow and the message flow parameters. The generation of code can also implement a design pattern, which is input based on the determined type of message flow. The computer-executable code can be, for example, Extended Structured Query Language (ESQL) code. The type of the message flow can identify, for example, a transformation requirement of the message flow. The transformation requirement can be, for example, one of (i) transformation from a first Extensible Markup Language (XML) message to a second XML message, (ii) transformation from an XML message to a Message Repository Manager (MRM) message, and (iii) transformation from a first MRM message to a second MRM message.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A computer-implemented method comprising:
generating, by a computer-based system for generating computer-executable code, a computer-executable script for a message flow, wherein the generating is based on a design pattern, wherein the design pattern is selected based on a type of message flow, and wherein the design pattern decouples a service-requesting component and a service-providing component.
2 . The method of claim 1 , wherein the generating is further based on at least one of the type of the message flow and message flow parameters.
3 . The method of claim 1 , wherein the generating the computer-executable script further comprises providing, by the computer-based system and using the design pattern, a standard coding practice, standard application processing requirements for generating the computer-executable script, and standard processing requirements for generating the computer-executable script.
4 . The method of claim 1 , wherein the computer-executable script comprises Extended Structured Query Language (ESQL) code.
5 . The method of claim 1 , wherein the type of the message flow identifies a transformation requirement of the message flow based on the message flow parameters.
6 . The method of claim 5 , wherein the transformation requirement is at least one of transformation from a first Extensible Markup Language (XML) message to a second XML message, transformation from an XML message to a Message Repository Manager (MRM) message, and transformation from a first MRM message to a second MRM message.
7 . The method of claim 1 , further comprising determining a requestor type of the message flow and a provider type of the message flow, wherein the type of the message flow is determined based on the requestor type and the provider type.
8 . The method of claim 7 , wherein the requestor type is at least one of an Extensible Markup Language (XML) requestor and a Common Business Oriented Language (COBOL) requestor, and the provider type is at least one of an XML provider and a COBOL provider.
9 . The method of claim 1 , wherein the message flow is in a message queuing infrastructure.
10 . The method of claim 1 , further comprising generating, by the computer-based system, code defining at least one of a request queue, an output node and a service reply queue.
11 . The method of claim 1 , further comprising determining, by the computer-based system, the type of the message flow and the message flow parameters;
12 . The method of claim 1 , further comprising executing operations, by the computer-based system, according to the message flow.
13 . The method of claim 1 , wherein the entire computer-executable script is generated automatically by the computer-based system.
14 . The method of claim 1 , further comprising displaying, by the computer-based system, a message flow type on a graphical user interface.
15 . The method of claim 1 , further comprising displaying, by the computer-based system, a Generate Script button.
16 . The method of claim 1 , wherein the type of message flow is determined based on user input.
17 . The method of claim 1 , further comprising routing, by the computer-based system, a request message from a requesting application through an application hub and a service hub to a provider application service.
18 . The method of claim 1 , further comprising routing, by the computer-based system, a reply message from a provider application service through a service hub and an application hub to a requesting application.
19 . An article of manufacture including a non-transitory, tangible computer readable storage medium having instructions stored thereon that, in response to execution by a computer-based system for generating computer-executable code, cause the computer-based system to perform operations comprising:
generating, by the computer-based system, a computer-executable script for a message flow, wherein the generating is based on a design pattern, wherein the design pattern is selected based on a type of message flow, and wherein the design pattern decouples a service-requesting component and a service-providing component.
20 . A system comprising:
a processor for generating computer-executable code; a tangible, non-transitory memory configured to communicate with the processor, the tangible, non-transitory memory having instructions stored thereon that, in response to execution by the processor, cause the processor to perform operations; and a generating module in communication with the processor and configured to generate a computer-executable script for a message flow, wherein the generating is based on a design pattern, wherein the design pattern is selected based on a type of message flow, and wherein the design pattern decouples a service-requesting component and a service-providing component.Join the waitlist — get patent alerts
Track US2014149997A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.