source.getLifecycleState());
// setup a requester, to send a flume OG event
URL url = new URL("http", "0.0.0.0", selectedPort, "/");
Transceiver http = new HttpTransceiver(url);
FlumeOGEventAvroServer client = SpecificRequestor.getClient(
FlumeOGEventAvroServer.class, http);
AvroFlumeOGEvent avroEvent = AvroFlumeOGEvent.newBuilder().setHost("foo").
setPriority(Priority.INFO).setNanos(0).setTimestamp(1).
setFields(new HashMap<CharSequence, ByteBuffer> ()).
setBody(ByteBuffer.wrap("foo".getBytes())).build();
client.append(avroEvent);
// check if the even has arrived in the channel through OG avro source
Transaction transaction = channel.getTransaction();
transaction.begin();