Class ProducibleAspect


  • @EnableAsync
    @Component
    public class ProducibleAspect
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void producibleAnnotations()  
      void publish​(java.lang.String topic, java.lang.String type, java.lang.String key, io.easywalk.simply.specification.serviceable.annotations.SimplyEntity entity)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProducibleAspect

        public ProducibleAspect​(KafkaProducerConfig kafkaConfig,
                                @Qualifier("eventableEntityKafkaTemplate")
                                org.springframework.kafka.core.KafkaTemplate kafkaTemplate)
    • Method Detail

      • producibleAnnotations

        public void producibleAnnotations()
      • publish

        public void publish​(java.lang.String topic,
                            java.lang.String type,
                            java.lang.String key,
                            io.easywalk.simply.specification.serviceable.annotations.SimplyEntity entity)