io.github.springwolf.asyncapi.v3.bindings.jms.JMSMessageBinding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springwolf-asyncapi Show documentation
Show all versions of springwolf-asyncapi Show documentation
Springwolf implementation of the AsyncApi specification
// 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.MessageBinding;
import io.github.springwolf.asyncapi.v3.model.schema.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* This object contains information about the message representation in JMS.
*
* @see JMS Message
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class JMSMessageBinding extends MessageBinding {
/**
* OPTIONAL. A Schema object containing the definitions for JMS specific headers (so-called protocol headers).
* This schema MUST be of type object and have a properties key. Examples of JMS protocol headers are JMSMessageID,
* JMSTimestamp, and JMSCorrelationID.
*/
@JsonProperty(value = "headers")
private Schema headers;
/**
* OPTIONAL, defaults to latest. The version of this binding.
*/
@Builder.Default
@JsonProperty("bindingVersion")
private String bindingVersion = "0.0.1";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy