Wednesday, November 19, 2014

Adding Siddhi extensions when using Siddhi as a Java library

You can write Siddhi extensions and run them in WSO2 CEP as given : https://docs.wso2.com/display/CEP310/Writing+Extensions+to+Siddhi

But if you are using Siddhi as a Java library then you can add then to SiddhiManager as follows

        List extensionClasses = new ArrayList();
        extensionClasses.add(org.wso2.siddhi.core.query.processor.window.UniqueWindowProcessorExt.class);
        
        SiddhiConfiguration siddhiConfiguration = new SiddhiConfiguration();
        siddhiConfiguration.setSiddhiExtensions(extensionClasses);
        
        SiddhiManager siddhiManager = new SiddhiManager(siddhiConfiguration);  

9 comments:

  1. update new-best free Cartoon Games online from internet. Pou Games | Dora games and many more.

    ReplyDelete
  2. Pou Games : Play Free Online Pou Games, juegos Pou, jogos Pou, jeux Pou. Pou-Games.net

    ReplyDelete
  3. I would like more information about this, because it is very nice. Thanks for sharing!
    happy wheels demo | friv4school | happy wheels game | girls go games | games 2 girls | happy wheels 2

    ReplyDelete
  4. While playing cool math games fireboy and watergirl you can enjoy a lot. This game is famous althogh i don't know what is the specialty of this game. On the other hand friv for school is also a famous games series. There are many other games sries like Get On Top and knowledgeadventure.com games are also available. But in tiles games 2048 game and Bad Ice Cream 3 is a very good game series also but there are some other games as well like Play 2048 Games and Peppa Pig games

    ReplyDelete
  5. Cat Mario is back with new adventures, Play cat Mario here, new and best levels which are more hard to play and more cool to play, try now cat mario game catmario3.com/unblocked-games

    ReplyDelete
  6. Rousing. I'm set for break out the old earth, myself. Much obliged for sharing.

    shoes online reviews

    ReplyDelete
  7. Really great article, Glad to read the article. It is very informative for us. Thanks for posting.

    ReplyDelete