Package org.springframework.cloud.stream.binder
-
Interface Summary Interface Description Binder<T,C extends ConsumerProperties,P extends ProducerProperties> A strategy interface used to bind an app interface to a logical name.BinderCustomizer BinderFactory BinderSpecificPropertiesProvider BinderTypeRegistry A registry ofBinderTypes, indexed by name.Binding<T> Represents a binding between an input or output and an adapter endpoint that connects via a Binder.BindingCleaner Interface for implementations that perform cleanup for binders.DefaultBinderFactory.Listener A listener that can be registered with theDefaultBinderFactorythat allows the registration of additional configuration.ExtendedBindingProperties<C,P> Properties that extend the common binding properties for a particular binder implementation.ExtendedPropertiesBinder<T,C,P> Extension ofBinderthat takesExtendedConsumerPropertiesandExtendedProducerPropertiesas arguments.LastSubscriberMessageHandler A marker interface designating a subscriber that must be the last.PartitionKeyExtractorStrategy Strategy for extracting a partition key from a Message.PartitionSelectorStrategy Strategy for determining the partition to which a message should be sent.PollableConsumerBinder<H,C extends ConsumerProperties> A binder that supports pollable message sources.PollableMessageSource PollableSource<H> A mechanism to poll a consumer. -
Class Summary Class Description AbstractBinder<T,C extends ConsumerProperties,P extends ProducerProperties> Base class forBinderimplementations.AbstractExtendedBindingProperties<C,P,T extends BinderSpecificPropertiesProvider> Base implementation ofExtendedBindingProperties.AbstractMessageChannelBinder<C extends ConsumerProperties,P extends ProducerProperties,PP extends ProvisioningProvider<C,P>> AbstractBinderthat serves as base class forMessageChannelbinders.AbstractMessageChannelBinder.ErrorInfrastructure AbstractMessageChannelBinder.PolledConsumerResources BinderConfiguration Configuration for a binder instance, associating aBinderTypewith its configurationProperties.BinderHeaders Spring Integration message headers for Spring Cloud Stream.BinderType References one or moreConfiguration-annotated classes which provide a context definition which contains exactly oneBinder, typically for a given type of system (e.g.BindingCreatedEvent ApplicationEvent fired whenever the the Binding is created.ConsumerProperties Common consumer properties - spring.cloud.stream.bindings.[destinationName].consumer.DefaultBinderFactory DefaultBinderFactoryimplementation.DefaultBinderTypeRegistry Default implementation of aBinderTypeRegistry.DefaultBinding<T> Default implementation for aBinding.DefaultPollableMessageSource The default implementation of aPollableMessageSource.DirectHandler EmbeddedHeaderUtils Encodes requested headers into payload with format0xff, n(1), [ [lenHdr(1), hdr, lenValue(4), value] ... ].ExtendedConsumerProperties<T> Extension ofConsumerPropertiesto be used with anExtendedPropertiesBinder.ExtendedProducerProperties<T> JavaClassMimeTypeUtils Handles representing any java class as aMimeType.MessageValues A mutable type for allowingBinderimplementations to transform and enrich message content more efficiently.PartitionHandler Utility class to determine if a binding is configured for partitioning (based on the binder properties provided in the constructor) and what partition a message should be delivered to.ProducerProperties Common producer properties.ProducerProperties.PollerProperties -
Enum Summary Enum Description HeaderMode -
Exception Summary Exception Description BinderException Exception thrown to indicate a binder error (most likely a configuration error).RequeueCurrentMessageException When using aPollableMessageSourcethrow this exception to cause the current message to be requeued in the broker so that it will be redelivered on the next poll.