public class WrappingPublisher extends ProxyService implements Publisher
| Constructor and Description |
|---|
WrappingPublisher(Publisher<MessageMetadata> wirePublisher,
MessageTransformer<com.google.pubsub.v1.PubsubMessage,Message> transformer) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<String> |
publish(com.google.pubsub.v1.PubsubMessage message) |
addServices, addServices, doStart, doStop, handlePermanentError, onPermanentError, start, stopaddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncpublic WrappingPublisher(Publisher<MessageMetadata> wirePublisher, MessageTransformer<com.google.pubsub.v1.PubsubMessage,Message> transformer) throws com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.ApiExceptionpublic com.google.api.core.ApiFuture<String> publish(com.google.pubsub.v1.PubsubMessage message)
publish in interface com.google.cloud.pubsub.v1.PublisherInterfaceCopyright © 2022 Google LLC. All rights reserved.