Package | Description |
---|---|
com.google.cloud.spring.autoconfigure.pubsub |
Auto-configuration for Spring Cloud GCP Pub/Sub module.
|
com.google.cloud.spring.pubsub.core |
Core support for Pub/Sub in Spring.
|
com.google.cloud.spring.pubsub.core.publisher |
Operations and template for publishing in Spring Cloud GCP Pub/Sub.
|
com.google.cloud.spring.pubsub.core.subscriber |
Operations and template for subscribing in Spring Cloud GCP Pub/Sub.
|
com.google.cloud.spring.pubsub.support.converter |
Classes related to converting messages in Spring Cloud GCP Pub/Sub.
|
Modifier and Type | Method and Description |
---|---|
PubSubPublisherTemplate |
GcpPubSubAutoConfiguration.pubSubPublisherTemplate(PublisherFactory publisherFactory,
org.springframework.beans.factory.ObjectProvider<PubSubMessageConverter> pubSubMessageConverter) |
PubSubSubscriberTemplate |
GcpPubSubAutoConfiguration.pubSubSubscriberTemplate(SubscriberFactory subscriberFactory,
org.springframework.beans.factory.ObjectProvider<PubSubMessageConverter> pubSubMessageConverter,
org.springframework.beans.factory.ObjectProvider<Executor> asyncPullExecutor,
Executor ackExecutor) |
Modifier and Type | Method and Description |
---|---|
PubSubMessageConverter |
PubSubTemplate.getMessageConverter() |
Modifier and Type | Method and Description |
---|---|
void |
PubSubTemplate.setMessageConverter(PubSubMessageConverter messageConverter) |
Modifier and Type | Method and Description |
---|---|
PubSubMessageConverter |
PubSubPublisherTemplate.getMessageConverter() |
Modifier and Type | Method and Description |
---|---|
void |
PubSubPublisherTemplate.setMessageConverter(PubSubMessageConverter pubSubMessageConverter) |
Modifier and Type | Method and Description |
---|---|
PubSubMessageConverter |
PubSubSubscriberTemplate.getMessageConverter()
Get the converter used to convert a message payload to the desired type.
|
Modifier and Type | Method and Description |
---|---|
void |
PubSubSubscriberTemplate.setMessageConverter(PubSubMessageConverter pubSubMessageConverter)
Set the converter used to convert a message payload to the desired type.
|
Modifier and Type | Class and Description |
---|---|
class |
JacksonPubSubMessageConverter
A converter using Jackson JSON.
|
class |
SimplePubSubMessageConverter
A simple
PubSubMessageConverter that directly maps payloads of type
byte[] , ByteString , ByteBuffer , and String to Pub/Sub messages. |
Copyright © 2021. All rights reserved.