Code example for ConcurrentLinkedQueue

0
 
import java.util.concurrent.ConcurrentLinkedQueue; 
 
public abstract class QueueableConsumer extends RouteBuilder { 
 
    protected ConcurrentLinkedQueue<Object> queue = new ConcurrentLinkedQueue<Object>(); 
 
    @Override 
    public abstract void configure() throws Exception; 
 
    public ConcurrentLinkedQueue<Object> getQueue() { 
        return queue; 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE