Package | Description |
---|---|
org.springframework.cloud.gcp.pubsub.core |
Core support for Pub/Sub in Spring.
|
org.springframework.cloud.gcp.pubsub.core.subscriber |
Operations and template for subscribing in Spring Cloud GCP Pub/Sub.
|
org.springframework.cloud.gcp.pubsub.support.converter |
Classes related to converting messages in Spring Cloud GCP Pub/Sub.
|
Modifier and Type | Method and Description |
---|---|
<T> Subscriber |
PubSubTemplate.subscribeAndConvert(String subscription,
Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>> messageConsumer,
Class<T> payloadType) |
Modifier and Type | Method and Description |
---|---|
<T> Subscriber |
PubSubSubscriberTemplate.subscribeAndConvert(String subscription,
Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>> messageConsumer,
Class<T> payloadType) |
<T> Subscriber |
PubSubSubscriberOperations.subscribeAndConvert(String subscription,
Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>> messageConsumer,
Class<T> payloadType)
Add a callback method to an existing subscription that receives Pub/Sub messages converted to the requested
payload type.
|
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 . |
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.