|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.aliyun.openservices.ons.api.bean.ProducerBean
public class ProducerBean
| 构造方法摘要 | |
|---|---|
ProducerBean()
|
|
| 方法摘要 | |
|---|---|
java.util.Properties |
getProperties()
|
SendResult |
send(Message message)
同步发送消息,只要不抛异常就表示成功 |
void |
sendOneway(Message message)
发送消息,Oneway形式,服务器不应答,无法保证消息是否成功到达服务器 |
void |
setProperties(java.util.Properties properties)
|
void |
shutdown()
关闭服务 |
void |
start()
启动服务 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ProducerBean()
| 方法详细信息 |
|---|
public void start()
Producer 复制的描述
Producer 中的 startpublic void shutdown()
Producer 复制的描述
Producer 中的 shutdownpublic SendResult send(Message message)
Producer 复制的描述
Producer 中的 sendpublic void sendOneway(Message message)
Producer 复制的描述
Producer 中的 sendOnewaypublic java.util.Properties getProperties()
public void setProperties(java.util.Properties properties)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||