public class ProducerConfig extends Object implements Serializable
| Constructor and Description |
|---|
ProducerConfig(ConnectionConfig connectionConfig,
String exchangeName,
String routingKey,
String contentType,
String contentEncoding,
boolean persistent) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
asMap() |
ConnectionConfig |
getConnectionConfig() |
String |
getContentEncoding() |
String |
getContentType() |
String |
getExchangeName() |
static ProducerConfig |
getFromStormConfig(Map<String,Object> stormConfig) |
String |
getRoutingKey() |
boolean |
isPersistent() |
public ProducerConfig(ConnectionConfig connectionConfig, String exchangeName, String routingKey, String contentType, String contentEncoding, boolean persistent)
public ConnectionConfig getConnectionConfig()
public String getExchangeName()
public String getRoutingKey()
public String getContentType()
public String getContentEncoding()
public boolean isPersistent()
public static ProducerConfig getFromStormConfig(Map<String,Object> stormConfig)
Copyright © 2013-2015. All Rights Reserved.