qbit/core/src/main/java/io/advantageous/qbit/events/EventBusQueueAdapter.java
private void sendToEventManager(T item) {
        if (debug) {
            logger.debug("EventBusQueueAdapter::sendToEventManager({})", item);
        }
        try {
            if (lock.tryLock()) {
                eventManager.sendArguments(channel, item);
            } else {
                lock.lock();
                eventManager.sendArguments(channel, item);
            }
        } finally {
            lock.unlock();
        }
    }
private void sendToEventManager(T item) {
        if (debug) {
            logger.debug("EventBusQueueAdapter::sendToEventManager({})", item);
        }
        try {
            if (lock.tryLock()) {
                eventManager.sendArguments(channel, item);
            } else {
                lock.lock();
                eventManager.sendArguments(channel, item);
            }
        } finally {
            lock.unlock();
        }
    }
private void sendToEventManager ( T item ) { if ( debug ) { logger . debug ( "EventBusQueueAdapter::sendToEventManager({})" , item ) ; } try { if ( lock . tryLock ( ) ) { eventManager . sendArguments ( channel , item ) ; } else { lock . lock ( ) ; eventManager . sendArguments ( channel , item ) ; } } finally { lock . unlock ( ) ; } }
Send the queue item to the event.

@param item item
Send the queue item to the event .