Search in sources :

Example 1 with MatcherPubSubActor

use of won.matcher.solr.actor.MatcherPubSubActor in project webofneeds by researchstudio-sat.

the class AkkaSolrMain method main.

public static void main(String[] args) throws IOException {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(MatcherSolrAppConfiguration.class);
    ActorSystem system = ctx.getBean(ActorSystem.class);
    ActorRef matcherPubSubActor = system.actorOf(SpringExtension.SpringExtProvider.get(system).props(MatcherPubSubActor.class), "MatcherPubSubActor");
}
Also used : ActorSystem(akka.actor.ActorSystem) AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) ActorRef(akka.actor.ActorRef) MatcherPubSubActor(won.matcher.solr.actor.MatcherPubSubActor)

Aggregations

ActorRef (akka.actor.ActorRef)1 ActorSystem (akka.actor.ActorSystem)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1 MatcherPubSubActor (won.matcher.solr.actor.MatcherPubSubActor)1