Reputation: 21245
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?
Upvotes: 0
Views: 131
Reputation: 14580
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.
Upvotes: 1