All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.ironjacamar.runtime.endpoint.NoopMessageEndpoint Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package io.quarkiverse.ironjacamar.runtime.endpoint;

import java.lang.reflect.Method;

import jakarta.resource.spi.endpoint.MessageEndpoint;

/**
 * A no-op message endpoint that does not support transactions.
 */
enum NoopMessageEndpoint implements MessageEndpoint {
    INSTANCE;

    @Override
    public void beforeDelivery(Method method) {
        // Do nothing
    }

    @Override
    public void afterDelivery() {
        // Do nothing
    }

    @Override
    public void release() {
        // Do nothing
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy