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

io.github.springwolf.asyncapi.v3.bindings.jms.JMSChannelBinding Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.bindings.jms;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.springwolf.asyncapi.v3.bindings.ChannelBinding;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * Protocol-specific information for a JMS channel.
 *
 * @see JMS Channel
 *
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class JMSChannelBinding extends ChannelBinding {
    /**
     * OPTIONAL, defaults to the channel name. The destination (queue) name for this channel. SHOULD only be specified
     * if the channel name differs from the actual destination name, such as when the channel name is not a valid
     * destination name according to the JMS Provider.
     */
    @JsonProperty("destination")
    private String destination;

    /**
     * OPTIONAL, defaults to queue. The type of destination, which MUST be either queue, or fifo-queue. SHOULD be
     * specified to document the messaging model (point-to-point, or strict message ordering) supported by this channel.
     */
    @JsonProperty("destinationType")
    private JMSChannelBindingDestinationType destinationType;

    /**
     * The version of this binding. If omitted, "latest" MUST be assumed.
     */
    @Builder.Default
    @JsonProperty("bindingVersion")
    private String bindingVersion = "0.0.1";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy