Skip to content

Commit e39f4e9

Browse files
authored
Graalvm readme touch-up (#1115)
1 parent 1e0bc90 commit e39f4e9

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -510,16 +510,18 @@ If you need a snapshot version, you must enable snapshots and change your depend
510510

511511
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.
512512

513-
### Using GraalVM Example
513+
## Integration with GraalVM
514514

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:
516+
* `--initialize-at-run-time=io.nats.client.support.RandomUtils`
517+
* `--initialize-at-run-time=java.security.SecureRandom`.
518518

519-
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.
523525

524526
## Basic Usage
525527

0 commit comments

Comments
 (0)