Patent ID: 7974966
Filing Date: 2011-07-05
Classification: G06F

Abstract:
1. A computer-implemented method comprising: receiving a client supplied binding from a client, wherein said client supplied binding includes an Extensible Markup Language Query (XQuery) or a script; storing a predefined binding in a server, wherein said predefined binding includes an XQuery, a script, or a program; allowing the client to select the predefined binding; an exchange receiving an Extensible Markup Language (XML) message from a publisher application; the exchange sending the XML message to each message queue whose binding matches the XML message; and preparing queries using a dataflow graph that represents conditions for all or some subset of the active bindings associated with the client message queues, so that a condition is evaluated only once when it is used in more than one binding, wherein the dataflow graph comprises a plurality of states, and wherein events that trigger state changes on the dataflow graph correspond to XQuery expressions; optimizing query processing for routing decisions by evaluating only an Effective Boolean Value of a given binding; retaining information required to detect whether a query result belongs to a list comprising: eliminating processing required to construct specific query results and structures based on the retained information, wherein the Effective Boolean Value represents a value of true or false, the type xs:boolean represents data that contains mathematical concept of true or false, the type xs:string represents data that contains character strings, the type xs:anyURI represents data that contains a URI including one or more web page addresses, and the type xs:untypedAtomic represents data that contains one or more attributes and text values of unvalidated XML.