I am sending a string from temporal publisher, which needs to be converted to a pojo on subscriber side
The pojo contains DateTime startDate field which is coming from Joda module. But while sending it to activity it throws below error.
Caused by: io.temporal.common.converter.DodoConverter Exception: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Joda date/time type org.joda.time.DateTime not supported by default: add Module com.fasterxml.jackson.datatype:jackson-datatype-joda to enable handling
I have already added mentioned dependency in my pom.
com.fasterxml.jackson.datatype:jackson-datatype-joda
How can i create a custom data converter for the same?