I have a Consumer & Producer which use BlockingQueue (ArrayBlockingQueue) with ByeBuffer elements.
putting elements into the BlockingQueue - adds a reference to the BlockingQueue. I need to use a blockingQueue which adds the element (not reference). Is is possible to do so with java blockingQueue ?
Thanks