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);