Channel myInput = getIOField ("streamInput"); Channel myOutput = getIOField ("streamOutput");
Channel myInput = getInputChannel (); Channel myOutput = getOutputChannel ();
    public void connectGraph ()    {        Channel myInput = getIOField ("streamInput");        Channel myOutput = getIOField ("streamOutput");        if (myOutput != null)        {            myOutput.setSource (this);        } else {            addSink ();        }        if (myInput != null)        {            myInput.setSink (this);        }        addFilter ();    }