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

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

There is a newer version: 3.4.0
Show newest version
/* Copyright (c) 2018 Pivotal Software, Inc. All rights reserved. */

package com.rabbitmq.jms.client;

import com.rabbitmq.client.AMQP;

import javax.jms.Message;

/**
 * Callback to customise properties of outbound AMQP messages.
 *
 * @since 1.9.0
 */
public interface AmqpPropertiesCustomiser {

    /**
     * Customise AMQP message properties.
     *
     * @param builder    the AMQP properties builder
     * @param jmsMessage the outbound JMS message
     * @return the customised or a new AMQP properties builder
     */
    AMQP.BasicProperties.Builder customise(AMQP.BasicProperties.Builder builder, Message jmsMessage);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy