- publish(String, T, Map<String, String>) - Method in interface org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherOperations
-
Send a message to Pub/Sub.
- publish(String, T) - Method in interface org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherOperations
-
Send a message to Pub/Sub.
- publish(String, PubsubMessage) - Method in interface org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherOperations
-
Send a message to Pub/Sub.
- publish(String, T, Map<String, String>) - Method in class org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherTemplate
-
Uses the configured message converter to first convert the payload and headers to a
PubsubMessage and then publish it.
- publish(String, T) - Method in class org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherTemplate
-
- publish(String, PubsubMessage) - Method in class org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherTemplate
-
- publish(String, T, Map<String, String>) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
Uses the configured message converter to first convert the payload and headers to a
PubsubMessage and then publish it.
- publish(String, T) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- publish(String, PubsubMessage) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- PublisherFactory - Interface in org.springframework.cloud.gcp.pubsub.support
-
The publisher factory interface that can create publishers.
- PubSubAdmin - Class in org.springframework.cloud.gcp.pubsub
-
Pub/Sub admin utility that creates new topics and subscriptions on Google Cloud Pub/Sub.
- PubSubAdmin(GcpProjectIdProvider, CredentialsProvider) - Constructor for class org.springframework.cloud.gcp.pubsub.PubSubAdmin
-
This constructor instantiates TopicAdminClient and SubscriptionAdminClient with all their
defaults and the provided credentials provider.
- PubSubAdmin(GcpProjectIdProvider, TopicAdminClient, SubscriptionAdminClient) - Constructor for class org.springframework.cloud.gcp.pubsub.PubSubAdmin
-
- PubSubException - Exception in org.springframework.cloud.gcp.pubsub.core
-
The Spring Google Cloud Pub/Sub specific NestedRuntimeException.
- PubSubException(String) - Constructor for exception org.springframework.cloud.gcp.pubsub.core.PubSubException
-
- PubSubException(String, Throwable) - Constructor for exception org.springframework.cloud.gcp.pubsub.core.PubSubException
-
- PubSubHeaderMapper - Class in org.springframework.cloud.gcp.pubsub.integration
-
Maps headers from PubsubMessages to
Messages and vice-versa.
- PubSubHeaderMapper() - Constructor for class org.springframework.cloud.gcp.pubsub.integration.PubSubHeaderMapper
-
- PubSubInboundChannelAdapter - Class in org.springframework.cloud.gcp.pubsub.integration.inbound
-
Converts from GCP Pub/Sub message to Spring message and sends the Spring message to the
attached channels.
- PubSubInboundChannelAdapter(PubSubSubscriberOperations, String) - Constructor for class org.springframework.cloud.gcp.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
- PubSubMessageConversionException - Exception in org.springframework.cloud.gcp.pubsub.support.converter
-
An exception raised when conversion to or from a PubsubMessage fails.
- PubSubMessageConversionException(String) - Constructor for exception org.springframework.cloud.gcp.pubsub.support.converter.PubSubMessageConversionException
-
- PubSubMessageConversionException(String, Throwable) - Constructor for exception org.springframework.cloud.gcp.pubsub.support.converter.PubSubMessageConversionException
-
- PubSubMessageConverter - Interface in org.springframework.cloud.gcp.pubsub.support.converter
-
Interface for converters that can convert POJOs to and from Pub/Sub messages.
- PubSubMessageHandler - Class in org.springframework.cloud.gcp.pubsub.integration.outbound
-
Outbound channel adapter to publish messages to Google Cloud Pub/Sub.
- PubSubMessageHandler(PubSubPublisherOperations, String) - Constructor for class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
- PubSubOperations - Interface in org.springframework.cloud.gcp.pubsub.core
-
An abstraction for Google Cloud Pub/Sub for publish and subscribe / pull methods.
- PubSubPublisherOperations - Interface in org.springframework.cloud.gcp.pubsub.core.publisher
-
An abstraction for Google Cloud Pub/Sub publisher operations.
- PubSubPublisherTemplate - Class in org.springframework.cloud.gcp.pubsub.core.publisher
-
- PubSubPublisherTemplate(PublisherFactory) - Constructor for class org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherTemplate
-
- PubSubSubscriberOperations - Interface in org.springframework.cloud.gcp.pubsub.core.subscriber
-
An abstraction for Google Cloud Pub/Sub subscription / pulling operations.
- PubSubSubscriberTemplate - Class in org.springframework.cloud.gcp.pubsub.core.subscriber
-
- PubSubSubscriberTemplate(SubscriberFactory) - Constructor for class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- PubSubTemplate - Class in org.springframework.cloud.gcp.pubsub.core
-
- PubSubTemplate(PublisherFactory, SubscriberFactory) - Constructor for class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- PubSubTemplate(PubSubPublisherTemplate, PubSubSubscriberTemplate) - Constructor for class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- pull(String, Integer, Boolean) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- pull(String, Integer, Boolean) - Method in interface org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull a number of messages from a Google Cloud Pub/Sub subscription.
- pull(String, Integer, Boolean) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullAndAck(String, Integer, Boolean) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- pullAndAck(String, Integer, Boolean) - Method in interface org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull and auto-acknowledge a number of messages from a Google Cloud Pub/Sub subscription.
- pullAndAck(String, Integer, Boolean) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullAndConvert(String, Integer, Boolean, Class<T>) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- pullAndConvert(String, Integer, Boolean, Class<T>) - Method in interface org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull a number of messages from a Google Cloud Pub/Sub subscription and convert them to Spring messages with
the desired payload type.
- pullAndConvert(String, Integer, Boolean, Class<T>) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- pullNext(String) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- pullNext(String) - Method in interface org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberOperations
-
Pull and auto-acknowledge a message from a Google Cloud Pub/Sub subscription.
- pullNext(String) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- setAckExecutor(Executor) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- setAckMode(AckMode) - Method in class org.springframework.cloud.gcp.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
- setApiClock(ApiClock) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the clock to use for the retry logic in synchronous pulling.
- setBatchingSettings(BatchingSettings) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultPublisherFactory
-
Set the API call batching configuration.
- setChannelProvider(TransportChannelProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultPublisherFactory
-
Set the provider for the channel to be used by the publisher.
- setChannelProvider(TransportChannelProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the subscribers' transport channel.
- setCredentialsProvider(CredentialsProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultPublisherFactory
-
Set the provider for the GCP credentials to be used by the publisher on every API calls it makes.
- setCredentialsProvider(CredentialsProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the GCP credentials to be used by the subscribers' API calls.
- setDefaultAckDeadline(int) - Method in class org.springframework.cloud.gcp.pubsub.PubSubAdmin
-
Set the default acknowledgement deadline value.
- setExecutorProvider(ExecutorProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultPublisherFactory
-
Set the provider for the executor that will be used by the publisher.
- setExecutorProvider(ExecutorProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the subscribers' executor.
- setFlowControlSettings(FlowControlSettings) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the flow control for the subscribers, including the behaviour for when the flow limits
are hit.
- setHeaderMapper(HeaderMapper<Map<String, String>>) - Method in class org.springframework.cloud.gcp.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
Set the header mapper to map headers from incoming PubsubMessage into
Message.
- setHeaderMapper(HeaderMapper<Map<String, String>>) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the header mapper to map headers from Message into outbound
PubsubMessage.
- setHeaderProvider(HeaderProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultPublisherFactory
-
Set the provider for the HTTP headers to be used in the Pub/Sub REST API requests.
- setHeaderProvider(HeaderProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the HTTP headers to be added to the subscribers' REST API calls.
- setInboundHeaderPatterns(String...) - Method in class org.springframework.cloud.gcp.pubsub.integration.PubSubHeaderMapper
-
- setMaxAckExtensionPeriod(Duration) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the maximum period the ack timeout is extended by.
- setMessageConverter(PubSubMessageConverter) - Method in class org.springframework.cloud.gcp.pubsub.core.publisher.PubSubPublisherTemplate
-
- setMessageConverter(PubSubMessageConverter) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- setMessageConverter(PubSubMessageConverter) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- setOutboundHeaderPatterns(String...) - Method in class org.springframework.cloud.gcp.pubsub.integration.PubSubHeaderMapper
-
- setParallelPullCount(Integer) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the number of pull workers.
- setPayloadType(Class) - Method in class org.springframework.cloud.gcp.pubsub.integration.inbound.PubSubInboundChannelAdapter
-
Set the desired type of the payload of the Message constructed by
converting the incoming Pub/Sub message.
- setPublishCallback(ListenableFutureCallback<String>) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the callback to be activated when the publish call resolves.
- setPublishTimeout(long) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the timeout in milliseconds for a synchronous publish call to Google Cloud Pub/Sub.
- setPublishTimeoutExpression(Expression) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the SpEL expression to evaluate a timeout in milliseconds for a synchronous publish call
to Google Cloud Pub/Sub.
- setPublishTimeoutExpressionString(String) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the SpEL expression to evaluate a timeout in milliseconds for a synchronous publish call
to Google Cloud Pub/Sub from a string.
- setPullEndpoint(String) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the endpoint for synchronous pulling messages.
- setRetrySettings(RetrySettings) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultPublisherFactory
-
Set the API call retry configuration.
- setSubscriberStubRetrySettings(RetrySettings) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the retry settings for the generated subscriber stubs.
- setSync(boolean) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set publish method to be synchronous or asynchronous.
- setSystemExecutorProvider(ExecutorProvider) - Method in class org.springframework.cloud.gcp.pubsub.support.DefaultSubscriberFactory
-
Set the provider for the system executor, to poll and manage lease extensions.
- setTopic(String) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the topic where this adapter sends messages to.
- setTopicExpression(Expression) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the SpEL expression for the topic this adapter sends messages to.
- setTopicExpressionString(String) - Method in class org.springframework.cloud.gcp.pubsub.integration.outbound.PubSubMessageHandler
-
Set the topic expression string that is evaluated into an actual expression.
- SimplePubSubMessageConverter - Class in org.springframework.cloud.gcp.pubsub.support.converter
-
A simple
PubSubMessageConverter that directly maps payloads of type
byte[],
ByteString,
ByteBuffer, and
String to Pub/Sub messages.
- SimplePubSubMessageConverter() - Constructor for class org.springframework.cloud.gcp.pubsub.support.converter.SimplePubSubMessageConverter
-
- SimplePubSubMessageConverter(Charset) - Constructor for class org.springframework.cloud.gcp.pubsub.support.converter.SimplePubSubMessageConverter
-
- subscribe(String, MessageReceiver) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
Deprecated.
- subscribe(String, Consumer<BasicAcknowledgeablePubsubMessage>) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- subscribe(String, MessageReceiver) - Method in interface org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberOperations
-
- subscribe(String, Consumer<BasicAcknowledgeablePubsubMessage>) - Method in interface org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberOperations
-
Add a callback method to an existing subscription.
- subscribe(String, MessageReceiver) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
Deprecated.
- subscribe(String, Consumer<BasicAcknowledgeablePubsubMessage>) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- subscribeAndConvert(String, Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>>, Class<T>) - Method in class org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
-
- subscribeAndConvert(String, Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>>, Class<T>) - Method in interface org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberOperations
-
Add a callback method to an existing subscription that receives Pub/Sub messages converted to the requested
payload type.
- subscribeAndConvert(String, Consumer<ConvertedBasicAcknowledgeablePubsubMessage<T>>, Class<T>) - Method in class org.springframework.cloud.gcp.pubsub.core.subscriber.PubSubSubscriberTemplate
-
- SubscriberFactory - Interface in org.springframework.cloud.gcp.pubsub.support
-
Interface used by the
PubSubTemplate to create
supporting objects for consuming messages from Pub/Sub subscriptions.