Qpid
  1. Qpid
  2. QPID-4766

[AMQP 1.0] provide a way of specifying an xquery for receivers from an xml exchange

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22
    • Fix Version/s: 0.23
    • Component/s: C++ Broker, C++ Client
    • Labels:
      None

      Activity

      Hide
      ASF subversion and git services added a comment -

      Commit 1492310 from Gordon Sim
      [ https://svn.apache.org/r1492310 ]

      QPID-4766: Added generic filter support to address handling in qpid::messaging. Added support for legacy-headers-binding and newly defined xquery filters.

      Show
      ASF subversion and git services added a comment - Commit 1492310 from Gordon Sim [ https://svn.apache.org/r1492310 ] QPID-4766 : Added generic filter support to address handling in qpid::messaging. Added support for legacy-headers-binding and newly defined xquery filters.
      Hide
      Gordon Sim added a comment -

      This can be done by specifying an xquery filter in the address string e.g. my-xml-exchange; {link:{filter:

      {value:"declare variable $colour external; $colour = 'red'",name:x,descriptor:"apache.org:xquery-filter:string"}

      }}.

      Note this can be used to specify any set of filters supported by the broker in use. The value of the filter opption is a single map or a list of maps, each of which defines a filter by providing a name, a descriptor (either a numeric code or a symbolic value) and the value of the filter (e.g. an xquery string as above or a nested map of headers to match against for a headers binding filter).

      Show
      Gordon Sim added a comment - This can be done by specifying an xquery filter in the address string e.g. my-xml-exchange; {link:{filter: {value:"declare variable $colour external; $colour = 'red'",name:x,descriptor:"apache.org:xquery-filter:string"} }}. Note this can be used to specify any set of filters supported by the broker in use. The value of the filter opption is a single map or a list of maps, each of which defines a filter by providing a name, a descriptor (either a numeric code or a symbolic value) and the value of the filter (e.g. an xquery string as above or a nested map of headers to match against for a headers binding filter).
      Hide
      Justin Ross added a comment -
      Show
      Justin Ross added a comment - Released in Qpid 0.24, http://qpid.apache.org/releases/qpid-0.24/index.html

        People

        • Assignee:
          Gordon Sim
          Reporter:
          Gordon Sim
        • Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development