Class PulsarSenderFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

    public class PulsarSenderFactoryBean
    extends org.springframework.beans.factory.config.AbstractFactoryBean
    Spring XML config does not support chained builders. This converts accordingly
    • Constructor Detail

      • PulsarSenderFactoryBean

        public PulsarSenderFactoryBean()
    • Method Detail

      • createInstance

        protected PulsarSender createInstance()
        Specified by:
        createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
      • getObjectType

        public Class<? extends PulsarSender> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean
        Specified by:
        getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean
        Overrides:
        isSingleton in class org.springframework.beans.factory.config.AbstractFactoryBean
      • destroyInstance

        protected void destroyInstance​(Object instance)
                                throws IOException
        Overrides:
        destroyInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
        Throws:
        IOException
      • setServiceUrl

        public void setServiceUrl​(String serviceUrl)
      • setTopic

        public void setTopic​(String topic)
      • setEncoding

        public void setEncoding​(Encoding encoding)
      • setMessageMaxBytes

        public void setMessageMaxBytes​(Integer messageMaxBytes)