LibraryToggle FramesPrintFeedback

You can also test various parts of an exchange (headers, message body, and so on) using simple predicates. Simple predicates have the following general syntax:

${LHSVariable} Op RHSValue

Where the variable on the left hand side, LHSVariable, is one of the variables shown in Table 17.1 and the value on the right hand side, RHSValue, is one of the following:

  • Another variable, ${RHSVariable}.

  • A string literal, enclosed in single quotes, ' '.

  • A string literal, not enclosed in quotes (no spaces allowed).

  • A numeric constant.

  • The null object, null.

The simple language always attempts to convert the RHS value to the type of the LHS value.

Comments powered by Disqus