Use the IBM® Integration API to modify a pattern instance to change pattern parameter values.
patternInstanceManager.setParameterValue("pp1", "true");