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

com.dell.cpsd.rcm.evaluation.client.config.RcmEvaluationClientConfig Maven / Gradle / Ivy

Go to download

This repository contains the source code for the rcm evaluation service API. Use this repository to share contracts between services so you can create POJOs using defined JSON schemas and to create message transformers for the RCM evaluation service.

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

package com.dell.cpsd.rcm.evaluation.client.config;

import com.dell.cpsd.rcm.evaluation.client.RcmEvaluationConfiguration;
import com.dell.cpsd.rcm.evaluation.client.amqp.AmqpRcmEvaluationManager;
import com.dell.cpsd.rcm.evaluation.client.amqp.config.RcmEvaluationConsumerConfig;
import com.dell.cpsd.rcm.evaluation.client.amqp.config.RcmEvaluationProducerConfig;
import com.dell.cpsd.rcm.evaluation.client.amqp.config.RcmEvaluationRabbitConfig;
import com.dell.cpsd.rcm.evaluation.client.amqp.consumer.IAmqpRcmEvaluationConsumer;
import com.dell.cpsd.rcm.evaluation.client.amqp.producer.IAmqpRcmEvaluationProducer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * This is the configuration for the RCM evaluation service client.
 * 
 * 

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

* * @version 1.0 * * @since SINCE-TBD */ @Configuration @Import({RcmEvaluationRabbitConfig.class, RcmEvaluationProducerConfig.class, RcmEvaluationConsumerConfig.class}) public class RcmEvaluationClientConfig { /* * The RCM evaluation consumer to use with the manager. */ @Autowired private IAmqpRcmEvaluationConsumer rcmEvaluationConsumer; /* * The RCM evaluation producer to use with the manager. */ @Autowired private IAmqpRcmEvaluationProducer rcmEvaluationProducer; /** * This returns the RCM evaluation manager. * * @return The RCM evaluation manager. * * @since 1.0 */ @Bean AmqpRcmEvaluationManager getAmqpRcmEvaluationManager() { final RcmEvaluationConfiguration configuration = new RcmEvaluationConfiguration( this.rcmEvaluationConsumer, this.rcmEvaluationProducer); return new AmqpRcmEvaluationManager(configuration); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy