public class PublishResult extends Object
コンストラクタと説明 |
---|
PublishResult(boolean isSuccess,
String message,
String exchangeName)
Create instance.
|
PublishResult(boolean isSuccess,
String message,
String exchangeName,
String queueName,
ExchangeType exchangeType,
String routingKey)
Create instance.
|
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getExchangeName()
Gets exchange name.
|
ExchangeType |
getExchangeType()
Gets exchange type.
|
String |
getMessage()
Gets result message.
|
String |
getQueueName()
Gets queue name.
|
String |
getRoutingKey()
Gets routing key.
|
boolean |
isSuccess()
Gets result status.
|
public PublishResult(boolean isSuccess, String message, String exchangeName)
isSuccess
- the value of whether publish is succeeded or not.message
- the string of this result.exchangeName
- the exchange name.public PublishResult(boolean isSuccess, String message, String exchangeName, String queueName, ExchangeType exchangeType, String routingKey)
isSuccess
- the value of whether publish is succeeded or not.message
- the string of this result.exchangeName
- the exchange name.queueName
- the queue name.exchangeType
- the exchange type.routingKey
- the routing key.public boolean isSuccess()
public String getMessage()
public String getExchangeName()
public String getQueueName()
public ExchangeType getExchangeType()
public String getRoutingKey()
Copyright © 2016–2018. All rights reserved.