Project: springxd
Issue XD-1308: Weird behavior of the transform module
When trying some of the examples of XD-159, came up with weird behavior of the transform module. This boils down to: {noformat} stream create foo --definition "http |transform --expression='new java.lang.Integer(payload)' | transform --expression=payload.getClass() | log" http post --data 42 ==> Integer (OK) http post --data WTH => WTH (!) {noformat} Seems that when the expression can not be evaluated, the incoming payload is transmitted as is
Story points: 4