book
Article ID: KB0074913
calendar_today
Updated On:
Description
How do I pass parameters when I add a container using sbadmin?
Resolution
The full sbadmin addContainer syntax is:
addContainer containerName { file.sbapp | file.ssql | file.sbar } [ containerName.stream=otherContainer.stream, ... ]
[--enqueue=STREAMSTATUS] [--dequeue=STREAMSTATUS] [--traceStreamPattern=pattern] [--traceFileBase=basefilename] [--traceOverwrite]
[--traceCompress] [--traceBuffered=[true|false]] [--suspend] [--moduleSearch=path]
[--datadir=path] [--parameter=param=value ] [args]
So to add an application and its parameters, do something like this:
sbadmin addContainer TheContainer MyApp.sbapp --parameter=MyFirstParam="FirstVal" --parameter-MyIntParam=100The full reference is here:
StreamBase Documentation > StreamBase References > StreamBase Command Reference > sbadminhttps://docs.streambase.com/sb77/topic/com.streambase.sb.ide.help/data/html/reference/sbadmin.html