-
-
Save viksingh/26df83686892c9fc6d2fd37cd2a3fb17 to your computer and use it in GitHub Desktop.
This is used to read the seeburger Counter value and auto increment the counter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//import com.seeburger.functions.permstore.*; | |
public String getSeeburgerCounter(String counterName, Container container) throws StreamTransformationException{ | |
String counterValue = ""; | |
try { | |
CounterBean be = CounterFactory.getCounterInstance(); | |
counterValue = be.nextCounter( counterName ); | |
} catch (Exception e) { | |
throw new RuntimeException(e.getMessage()); | |
} | |
return counterValue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment