[Fixup] Camel examples need cleanup
Opened this issue · 2 comments
ThePrez commented
What example(s) need improvement?
All the Camel examples
What improvement(s) could be made?
- All should wait on a loop that checks if the context is stopped, rather than just sleeping forever (even better = use the main support shutdown policy that has a wait function)
- Update dependency versions to latest
- Stop doing URL encoding in the properties helper class (like so) and instead use
RAW()
when needed - Include the Maven plugin to build in all dependencies into a single jar (example)
- Update the documentation to use
mvn package
andjava
rather thanmvn exec::java
jwoehr commented
Failing setup in db2_bash/setup.sh
... library COOLSTUFF doesn't get created.
Trying it manually as in setup.sh
:
$ system -i "RUNSQL SQL('create schema coolstuff')"
CPD000D: Command *LIBL/RUNSQL not safe for a multithreaded job.
$ [ -e /qsys.lib/COOLSTUFF.LIB ]
$ echo $?
1
ThePrez commented
Whattabout if you omit the -i
?