public class CloudEventServiceRocketmqImp extends Object implements org.noear.solon.cloud.service.CloudEventServicePlus
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attention(org.noear.solon.cloud.annotation.EventLevel level,
String channel,
String group,
String topic,
org.noear.solon.cloud.CloudEventHandler observer) |
String |
getChannel() |
String |
getGroup() |
static CloudEventServiceRocketmqImp |
getInstance() |
boolean |
publish(org.noear.solon.cloud.model.Event event) |
void |
subscribe() |
public static CloudEventServiceRocketmqImp getInstance()
public boolean publish(org.noear.solon.cloud.model.Event event)
throws org.noear.solon.cloud.exception.CloudEventException
publish 在接口中 org.noear.solon.cloud.service.CloudEventServiceorg.noear.solon.cloud.exception.CloudEventExceptionpublic void attention(org.noear.solon.cloud.annotation.EventLevel level,
String channel,
String group,
String topic,
org.noear.solon.cloud.CloudEventHandler observer)
attention 在接口中 org.noear.solon.cloud.service.CloudEventServicepublic void subscribe()
public String getChannel()
getChannel 在接口中 org.noear.solon.cloud.service.CloudEventServicePluspublic String getGroup()
getGroup 在接口中 org.noear.solon.cloud.service.CloudEventServicePlusCopyright © 2021. All rights reserved.