I have two threads, and I want to make sure I am doing the synchronization correctly on the LinkedBlockingQueue.. Is this correct? Or is the explicit synchronization on (messa
Yes, it's not necessary. JavaDoc says that:
BlockingQueue implementations are thread-safe.