Skip to content

Instantly share code, notes, and snippets.

@viksingh
Forked from SriniBlog/setSeeburgerVariable.java
Created February 9, 2018 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viksingh/5ab7e6ee986a51ba655e74852d7a6217 to your computer and use it in GitHub Desktop.
Save viksingh/5ab7e6ee986a51ba655e74852d7a6217 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