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

com.tvd12.ezymq.rabbitmq.handler.EzyRabbitMessageHandler Maven / Gradle / Ivy

The newest version!
package com.tvd12.ezymq.rabbitmq.handler;

import com.rabbitmq.client.AMQP.BasicProperties;
import com.rabbitmq.client.Delivery;

public interface EzyRabbitMessageHandler {

    void handle(
        BasicProperties properties,
        byte[] messageBody
    );

    default void handle(Delivery request) {
        handle(
            request.getProperties(),
            request.getBody()
        );
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy