Date values are changed after converting payload to JSON in Red Hat Fuse

Solution Verified - Updated -


  • Date values are incorrect after marshaling to JSON using Jackson library.
                id="JSON" include="NON_EMPTY" library="Jackson" unmarshalTypeName=""/>
            <jaxb contextPath=""  id="XML" prettyPrint="false"/>

    <when id="_when5">
            <simple>${exchangeProperty.convertToJson} == "true"</simple>
            <marshal id="_marshal1" ref="JSON"/>
            <log  message = "converted json body, ${body}"/>


  • Red Hat Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In