Skip to content

Instantly share code, notes, and snippets.

@minyk
Created March 29, 2016 00:37
Show Gist options
  • Save minyk/4a09b3ccfd78bcc542c4 to your computer and use it in GitHub Desktop.
Save minyk/4a09b3ccfd78bcc542c4 to your computer and use it in GitHub Desktop.
FlowFile flowFile = session.get();
# Do something with flowFile.
flowFile = session.write(flowFile, new OutputStreamCallback() {
@Override
public void process(OutputStream out) throws IOException {
}
});
# Send to SUCCESS Relation.
session.transfer(flowFile, SUCCESS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment