REST DSL Jackson date needs to be serialised to to ISO8601 with Zulu time

Solution Unverified - Updated -

Issue

  • We are trying to get the REST DSL to respond with timestamps in Zulu time.
  • We don't have access to source code.
  • What we get
{
  "some_date": "2016-02-03T05:13:44.255+0000"
}
  • What we want (date with zulu time:
{
  "some_date": "2016-02-03T05:13:44.255Z"
}
  • Is there a way to get Jackson to format dates as we require?

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content