Search in sources :

Example 6 with RemotingEventBus

use of com.canoo.platform.remoting.server.event.RemotingEventBus in project dolphin-platform by canoo.

the class DefaultDolphinEventBusTest method TestPublishInsideSession.

@Test
public void TestPublishInsideSession() {
    RemotingEventBus eventBus = create(createContext());
    eventBus.publish(TEST_TOPIC, "huhu");
}
Also used : RemotingEventBus(com.canoo.platform.remoting.server.event.RemotingEventBus) Test(org.testng.annotations.Test)

Aggregations

RemotingEventBus (com.canoo.platform.remoting.server.event.RemotingEventBus)6 Test (org.testng.annotations.Test)5 AtomicBoolean (java.util.concurrent.atomic.AtomicBoolean)2 ClientSessionLifecycleHandler (com.canoo.dp.impl.server.client.ClientSessionLifecycleHandler)1 ClientSessionProvider (com.canoo.dp.impl.server.client.ClientSessionProvider)1 RemotingConfiguration (com.canoo.dp.impl.server.config.RemotingConfiguration)1 DefaultDolphinContextFactory (com.canoo.dp.impl.server.context.DefaultDolphinContextFactory)1 DolphinContextCommunicationHandler (com.canoo.dp.impl.server.context.DolphinContextCommunicationHandler)1 DolphinContextFactory (com.canoo.dp.impl.server.context.DolphinContextFactory)1 DolphinContextProvider (com.canoo.dp.impl.server.context.DolphinContextProvider)1 ControllerValidationException (com.canoo.dp.impl.server.controller.ControllerValidationException)1 AbstractEventBus (com.canoo.dp.impl.server.event.AbstractEventBus)1 DolphinPlatformServlet (com.canoo.dp.impl.server.servlet.DolphinPlatformServlet)1 InterruptServlet (com.canoo.dp.impl.server.servlet.InterruptServlet)1 Subscription (com.canoo.platform.core.functional.Subscription)1 EventBusProvider (com.canoo.platform.remoting.server.event.spi.EventBusProvider)1 ClientSession (com.canoo.platform.server.client.ClientSession)1 ModuleInitializationException (com.canoo.platform.server.spi.ModuleInitializationException)1 ClasspathScanner (com.canoo.platform.server.spi.components.ClasspathScanner)1 ManagedBeanFactory (com.canoo.platform.server.spi.components.ManagedBeanFactory)1