JDBC Adapter notification & dates

Hi all,

In WM 8.0 I have a JDBC adapter notification which is outputting a date in which I have set “Output Field Type” to java.util.Date.

The flow service which receives the message (via broker trigger) has a map step which passes the date field from the adapter notification into a transformer pub.date:formatDate along with the pattern “yyyy-MM-dd”. The trouble is, the output, whilst formatted correctly, always displays the current date rather than the date passed in (this is the same behaviour as I get if I don’t pass the date in at all so it’s like it can’t read the value and default to the current date).

Both the data type of the field in the notification document and the data type of the input to pub.date.formatDate are java.util.Date.

Anyone seen this before?