I am getting below error
<code> ExhaustedRetryException: Cannot locate recovery method; nested exception is
org.springframework.web.client.RestClientException:
Error while extracting response for type [class java.lang.String] and content type [application/json];
nested exception is org.springframework.http.converter.HttpMessageNotReadableException:
JSON parse error: Unexpected character ('-' (code 45)):
Expected space separating root-level values; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)): Expected space separating root-level values
at [Source: (PushbackInputStream); line: 1, column: 6]
</code>
<code> ExhaustedRetryException: Cannot locate recovery method; nested exception is
org.springframework.web.client.RestClientException:
Error while extracting response for type [class java.lang.String] and content type [application/json];
nested exception is org.springframework.http.converter.HttpMessageNotReadableException:
JSON parse error: Unexpected character ('-' (code 45)):
Expected space separating root-level values; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)): Expected space separating root-level values
at [Source: (PushbackInputStream); line: 1, column: 6]
</code>
ExhaustedRetryException: Cannot locate recovery method; nested exception is
org.springframework.web.client.RestClientException:
Error while extracting response for type [class java.lang.String] and content type [application/json];
nested exception is org.springframework.http.converter.HttpMessageNotReadableException:
JSON parse error: Unexpected character ('-' (code 45)):
Expected space separating root-level values; nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)): Expected space separating root-level values
at [Source: (PushbackInputStream); line: 1, column: 6]
I am trying to parse the response from the business day API which throws above error
<code>API Response - > 2024-03-15
</code>
<code>API Response - > 2024-03-15
</code>
API Response - > 2024-03-15
I am getting above issue after upgrading activemq-broker from 5.12.X to 5.16.X
Please let me know if you need more details