Class CarpPekkoSpringActorProducer

java.lang.Object
cn.sliew.carp.framework.pekko.spring.CarpPekkoSpringActorProducer
All Implemented Interfaces:
org.apache.pekko.actor.IndirectActorProducer

public class CarpPekkoSpringActorProducer extends Object implements org.apache.pekko.actor.IndirectActorProducer
参考 https://www.baeldung.com/akka-with-spring
  • Constructor Details

    • CarpPekkoSpringActorProducer

      public CarpPekkoSpringActorProducer(org.springframework.context.ApplicationContext applicationContext, String beanActorName)
    • CarpPekkoSpringActorProducer

      public CarpPekkoSpringActorProducer(org.springframework.context.ApplicationContext applicationContext, String beanActorName, Object... args)
  • Method Details

    • produce

      public org.apache.pekko.actor.Actor produce()
      Specified by:
      produce in interface org.apache.pekko.actor.IndirectActorProducer
    • actorClass

      public Class<? extends org.apache.pekko.actor.Actor> actorClass()
      Specified by:
      actorClass in interface org.apache.pekko.actor.IndirectActorProducer