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

com.dell.cpsd.common.rabbitmq.registration.notifier.model.MessageRegistrationDto Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
/**
 * Copyright © 2017 Dell Inc. or its subsidiaries.  All Rights Reserved.
 * Dell EMC Confidential/Proprietary Information
 */

package com.dell.cpsd.common.rabbitmq.registration.notifier.model;

import com.fasterxml.jackson.databind.jsonschema.JsonSchema;

import java.util.List;
import java.util.UUID;

/**
 * 

* Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved. * Dell EMC Confidential/Proprietary Information *

* * @since SINCE-TBD */ public class MessageRegistrationDto { private String registrationId; private String serviceName; private Class messageClass; private String messageType; private String messageVersion; private JsonSchema messageSchema; private List messageExchanges; private List messageQueues; public MessageRegistrationDto(String serviceName, Class messageClass, String messageType, String messageVersion, JsonSchema messageSchema, List messageExchanges, List messageQueues) { this.registrationId = UUID.randomUUID().toString(); this.serviceName = serviceName; this.messageClass = messageClass; this.messageType = messageType; this.messageVersion = messageVersion; this.messageSchema = messageSchema; this.messageExchanges = messageExchanges; this.messageQueues = messageQueues; } public String getRegistrationId() { return registrationId; } public String getServiceName() { return serviceName; } public Class getMessageClass() { return messageClass; } public String getMessageType() { return messageType; } public String getMessageVersion() { return messageVersion; } public JsonSchema getMessageSchema() { return messageSchema; } public List getMessageExchanges() { return messageExchanges; } public List getMessageQueues() { return messageQueues; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy