@Override
            public void onMessage(Object event) {
                if (fail.equals("true")) {
                    sourceEventListener.onEvent(event, new String[]{symbol});
                } else {
                    if (requestedTransportPropertyNames.length == 2 &&
                            requestedTransportPropertyNames[0].equals("symbol") &&
                            requestedTransportPropertyNames[1].equals("price")) {
                        sourceEventListener.onEvent(event, new String[]{symbol, price});
                    }
                }
            }
Implementation of {@link Source} to receive events through in-memory
transport.
modules/siddhi-core/src/test/java/io/siddhi/core/transport/TestDepInMemorySource.java