@Override
    public void connect(ConnectionCallback connectionCallback, State state) throws ConnectionUnavailableException {
        InMemoryBroker.subscribe(subscriber);
    }
Implementation of {@link Source} to receive events through in-memory
transport.
modules/siddhi-core/src/test/java/io/siddhi/core/transport/TestTrpInMemorySource.java