| Modifier and Type | Method and Description |
|---|---|
com.google.cloud.pubsub.v1.Subscriber |
PubSubTemplate.subscribe(String subscription,
Consumer<BasicAcknowledgeablePubsubMessage> messageConsumer) |
| Modifier and Type | Method and Description |
|---|---|
com.google.cloud.pubsub.v1.Subscriber |
PubSubSubscriberTemplate.subscribe(String subscription,
Consumer<BasicAcknowledgeablePubsubMessage> messageConsumer) |
com.google.cloud.pubsub.v1.Subscriber |
PubSubSubscriberOperations.subscribe(String subscription,
Consumer<BasicAcknowledgeablePubsubMessage> messageConsumer)
Add a callback method to an existing subscription.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AcknowledgeablePubsubMessage
An extension of
BasicAcknowledgeablePubsubMessage that exposes ack ID and subscription name of the message. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConvertedAcknowledgeablePubsubMessage<T>
An
AcknowledgeablePubsubMessage that also contains the payload of the Pub/Sub
message converted to the desired type T. |
interface |
ConvertedBasicAcknowledgeablePubsubMessage<T>
A
BasicAcknowledgeablePubsubMessage that also contains the payload of the
Pub/Sub message converted to the desired type T. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.