Is JsonMessageConverter thread-safe?

137 views Asked by At

I want to create org.springframework.amqp.support.converter.JsonMessageConverter as a Singleton Spring bean and autowire it in my services. Is it thread-safe?

1

There are 1 answers

0
CupawnTae On BEST ANSWER

Yes, it's threadsafe to use, assuming you use it in a threadsafe way. E.g. if you call setJsonObjectMapper(...) on it, it will affect all threads that use it.