The "msg" Object
In order to decide whether a message needs to be filtered or not, you will typically need to test pieces of the incoming message. As mentioned in the About Data Types section, when the message enters a filter / transformer, it gets serialized into an internal representation. This is the variable msg, which may be an E4X XML Object, a JavaScript Object, or a Java String, depending on the data type implementation.