System and method for supporting representational state transfer services natively in a service bus runtime
First Claim
1. A system for supporting end-to-end JavaScript Notation (JSON) messages in a service bus runtime, the system comprising:
- a microprocessor; and
a service bus runtime executing on the microprocessor, wherein the service bus runtime comprises;
a plurality of representational state transfer (REST) services comprising a REST proxy service and a REST pipeline service;
a JavaScript Action; and
a JavaScript engine configured to execute javaScript code in the JavaScript action, wherein the service bus runtime, when receiving a JSON message having a JSON format and comprising a payload operates to;
receive the JSON message by the REST proxy service;
forward the JSON message by the REST proxy service to the REST pipeline service;
invoke the JavaScript engine to process the JSON message by manipulating the payload of the JSON message;
use the JavaScript action by the REST pipeline service to retrieve and update context variables associated with the JSON message; and
route the JSON message through the plurality of REST services while maintaining the JSON format of the message without converting the payload by the manipulating to or from a format other than a REST native type.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with an embodiment, described herein is a system and method for supporting REST services natively in a service bus runtime. The service bus runtime can include one or more native REST proxy services, one or more native REST pipelines, and one or more native REST reference services. A native REST proxy service can deliver a message payload of a REST native format into a native REST pipeline, which can process the payload without converting the payload to or from an XML-based Simple Object Access Protocol (SOAP) format. JavaScript code can be supported in the pipeline to manipulate the message payload. A REST branch node can be used in the service bus runtime to route a message based on an HTTP verb or a relative URL path in a header of the message.
-
Citations
22 Claims
-
1. A system for supporting end-to-end JavaScript Notation (JSON) messages in a service bus runtime, the system comprising:
-
a microprocessor; and a service bus runtime executing on the microprocessor, wherein the service bus runtime comprises; a plurality of representational state transfer (REST) services comprising a REST proxy service and a REST pipeline service; a JavaScript Action; and a JavaScript engine configured to execute javaScript code in the JavaScript action, wherein the service bus runtime, when receiving a JSON message having a JSON format and comprising a payload operates to; receive the JSON message by the REST proxy service; forward the JSON message by the REST proxy service to the REST pipeline service; invoke the JavaScript engine to process the JSON message by manipulating the payload of the JSON message; use the JavaScript action by the REST pipeline service to retrieve and update context variables associated with the JSON message; and route the JSON message through the plurality of REST services while maintaining the JSON format of the message without converting the payload by the manipulating to or from a format other than a REST native type. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for supporting end-to-end JavaScript Notation (JSON) messages in a service bus runtime, the method comprising:
-
providing a service bus runtime executing on a microprocessor, wherein the service bus runtime comprises; a plurality of representational state transfer (REST) services comprising a REST proxy service and a REST pipeline service; a JavaScript Action; and a JavaScript engine configured to execute javaScript code in the JavaScript action; receiving a JSON message at the REST proxy service of the service bus runtime, the JSON message having a JSON format and comprising a payload; forwarding the JSON message by the REST proxy service to the REST pipeline service; processing the JSON message using the JavaScript engine to manipulate the payload of the JSON message; using the JavaScript action by the REST pipeline service to retrieve and update context variables associated with the JSON message; and routing the JSON message through the plurality of REST services while maintaining the JSON format of the message without converting the payload by the manipulating to or from a format other than a REST native type. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer-readable storage medium storing a set of instructions for supporting end-to-end JavaScript Notation (JSON) messages in a service bus runtime, said instructions, when executed by one or more processors, causing the one or more processors to perform steps comprising:
-
providing a service bus runtime executing on a microprocessor, wherein the service bus runtime comprises; a plurality of representational state transfer (REST) services comprising a REST proxy service and a REST pipeline service; a JavaScript Action; and a JavaScript engine configured to execute javaScript code in the JavaScript action; receiving a JSON message at the REST proxy service of the service bus runtime, the JSON message having a JSON format and comprising a payload; forwarding the JSON message by the REST proxy service to the REST pipeline service;
processing the JSON message using the JavaScript engine to manipulate the payload of the JSON message; andusing the JavaScript action by the REST pipeline service to retrieve and update context variables associated with the JSON message; routing the JSON message through the plurality of REST services while maintaining the JSON format of the message without converting the payload by the manipulating to or from a format other than a REST native type. - View Dependent Claims (18, 19, 20, 21, 22)
-
Specification