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

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

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

import javax.jms.JMSException;

/**
 * Callback before sending a message.
 *
 * @see com.rabbitmq.jms.admin.RMQConnectionFactory#setSendingContextConsumer(SendingContextConsumer)
 * @see SendingContext
 * @since 1.11.0
 */
public interface SendingContextConsumer {

    /**
     * Called before sending a message.
     * 

* Can be used to customize the message or the destination * before the message is actually sent. * * @param sendingContext * @throws JMSException */ void accept(SendingContext sendingContext) throws JMSException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy