Last active
February 9, 2018 01:09
-
-
Save SriniBlog/154fb60cffc6edd5abfc 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