Here are the examples of the java api class org.apache.activemq.artemis.core.server.HandleStatus taken from open source projects.

1. QueueImpl#handle()

Project: activemq-artemis
Source File:
View license
private synchronized HandleStatus handle(final MessageReference reference, final Consumer consumer) {
    HandleStatus status;
    try {
        status = consumer.handle(reference);
    } catch (Throwable t) {
        ActiveMQServerLogger.LOGGER.removingBadConsumer(t, consumer, reference);
        try {
        } catch (Exception e) {
        return HandleStatus.BUSY;
    if (status == null) {
        throw new IllegalStateException("ClientConsumer.handle() should never return null");
    return status;