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

com.rabbitmq.jms.client.ReceivingContext Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package com.rabbitmq.jms.client;

import javax.jms.Message;

/**
 * Context when receiving message.
 *
 * @see com.rabbitmq.jms.admin.RMQConnectionFactory#setReceivingContextConsumer(ReceivingContextConsumer)
 * @see ReceivingContextConsumer
 * @since 1.11.0
 */
public class ReceivingContext {

    private final Message message;

    public ReceivingContext(Message message) {
        this.message = message;
    }

    public Message getMessage() {
        return message;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy