public class TMSOutboundChannelManager extends TMSChannelManager implements OutboundChannelManager
NAMESPACE_NAME, TOPIC_NAMEchannel| Constructor and Description |
|---|
TMSOutboundChannelManager(Channel channel,
co.cask.cdap.api.messaging.MessagePublisher publisher,
String currentNamespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize() |
void |
publish(byte[] data) |
void |
publish(List<byte[]> data) |
void |
stop() |
configure, getNamespace, getTopicgetChannelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, getChannelpublic void publish(byte[] data)
throws Exception
publish in interface OutboundChannelManagerExceptionpublic void publish(List<byte[]> data) throws Exception
publish in interface OutboundChannelManagerExceptionpublic void initialize()
initialize in interface ChannelManagerpublic void stop()
stop in interface ChannelManagerCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.