Skip to content

Instantly share code, notes, and snippets.

View antoon-r's full-sized avatar

Anton Ryabinin antoon-r

View GitHub Profile
@antoon-r
antoon-r / ExampleFSM.scala
Created September 21, 2018 11:39
Akka does not unstash timer messages
import akka.actor.{ActorSystem, FSM, Props, Stash}
import scala.concurrent.duration.{FiniteDuration, _}
object Main
extends App
{
val system = ActorSystem("test")
system.actorOf(Props({new ExampleFSM}))
while(true){}
@antoon-r
antoon-r / ThreadLocalProvider.java
Created October 27, 2017 07:32 — forked from agentgt/ThreadLocalProvider.java
Using Two different JAX-WS client implementations
package com.snaphop.jaxws;
import static java.util.Arrays.asList;
import java.net.URL;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.ServiceLoader;