You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -510,16 +510,18 @@ If you need a snapshot version, you must enable snapshots and change your depend
510
510
511
511
If you are using the 1.x version of java-nats and don't want to upgrade to 2.0.0 please use ranges in your POM file, java-nats-streaming 1.x is using [1.1, 1.9.9) for this.
512
512
513
-
### Using GraalVM Example
513
+
##Integration with GraalVM
514
514
515
-
Important GraalVM configurations are `--initialize-at-run-time=io.nats.client.support.RandomUtils`
516
-
and`--initialize-at-run-time=java.security.SecureRandom`. These will instruct GraalVM to initialize specified classes
517
-
at runtime. So that these instances don't have fixed seeds. GraalVM won't compile without these parameters.
515
+
To inlcude this library with a GraalVM project, there are 2 important configurations you must use:
Explore the [nats-graalvm-example](https://github.com/YunaBraska/nats-graalvm-example) repository for a straightforward
520
-
demonstration on creating efficient NATS clients with GraalVM.
521
-
This example leverages the [jNats](https://github.com/nats-io/nats.java) client to connect to a
522
-
[NATS test server](https://github.com/YunaBraska/nats-server), which is included within the project.
519
+
These will instruct GraalVM to initialize specified classes at runtime, so that these instances don't have fixed seeds.
520
+
GraalVM won't compile without these parameters.
521
+
522
+
For a much more thorough discussion of the subject, please visit the [nats-graalvm-example](https://github.com/YunaBraska/nats-graalvm-example) repository
523
+
made by one of our contributors. There is detailed demonstration for creating an efficient NATS clients with GraalVM.
524
+
This example leverages the client to connect to a server.
0 commit comments