ppalaga commented on PR #19110: URL: https://github.com/apache/camel/pull/19110#issuecomment-3284480251
> Hi @ppalaga > > As `SimpleDateFormat` is not thread-safe, would we then run into problems where `RestOpenApiSupport#getJsonFromOpenAPIAsString` API is used concurrently through multiple threads? I think safer would be to instantiate it per request / call. I agree, `SimpleDateFormat` is not thread-safe, but I have no idea whether `RestOpenApiSupport#getJsonFromOpenAPIAsString` can be called concurrently. It would be great if some subject matter could check. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org