Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fixup] Camel examples need cleanup #229

Open
ThePrez opened this issue Oct 6, 2021 · 2 comments
Open

[Fixup] Camel examples need cleanup #229

ThePrez opened this issue Oct 6, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ThePrez
Copy link
Member

ThePrez commented Oct 6, 2021

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 and java rather than mvn exec::java
@ThePrez ThePrez added the enhancement New feature or request label Oct 6, 2021
@jwoehr
Copy link

jwoehr commented Jan 26, 2022

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
Copy link
Member Author

ThePrez commented Jan 27, 2022

Whattabout if you omit the -i?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants