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

com.dell.cpsd.common.rabbitmq.retrypolicy.exception.ResponseDetails Maven / Gradle / Ivy

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

package com.dell.cpsd.common.rabbitmq.retrypolicy.exception;

/**
 * Minimal details necessary to send response message.
 * 

*

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

*/ public class ResponseDetails { private String exchange; private String routingKey; private Object body; public ResponseDetails(String exchange, String routingKey, Object body) { this.exchange = exchange; this.routingKey = routingKey; this.body = body; } @Override public String toString() { return "ResponseDetails{" + "exchange='" + exchange + '\'' + ", routingKey='" + routingKey + '\'' + ", body=" + (body == null ? null : body.getClass().getSimpleName()) + '}'; } public String getExchange() { return exchange; } public String getRoutingKey() { return routingKey; } public Object getBody() { return body; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy