Skip to content

Instantly share code, notes, and snippets.

@SriniBlog
Created December 24, 2015 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SriniBlog/f1a1340118b5a17160f4 to your computer and use it in GitHub Desktop.
Save SriniBlog/f1a1340118b5a17160f4 to your computer and use it in GitHub Desktop.
This UDF can be used to write the Seerburger Variable
public String setSeeburgerVariable(String variableName, String variableValue, Container container) throws StreamTransformationException{
try
{
VariableBean be=VariableFactory.getVariableInstance("");
be.setStringVariable(variableName, variableValue);
}catch (Exception e){
throw new RuntimeException(e);
}
return "";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment