Class SubscriptionRegisteringSubscriber

  • All Implemented Interfaces:
    org.springframework.messaging.MessageHandler

    public class SubscriptionRegisteringSubscriber
    extends BaseSubscriberForSubscriptionResources
    implements org.springframework.messaging.MessageHandler
    Responsible for transitioning subscription resources from REQUESTED to ACTIVE Once activated, the subscription is added to the SubscriptionRegistry.

    Also validates criteria. If invalid, rejects the subscription without persisting the subscription.

    • Method Detail

      • handleMessage

        public void handleMessage​(@Nonnull
                                  org.springframework.messaging.Message<?> theMessage)
                           throws org.springframework.messaging.MessagingException
        Specified by:
        handleMessage in interface org.springframework.messaging.MessageHandler
        Throws:
        org.springframework.messaging.MessagingException