cloudfoundry-community / java-nats

NATS Client for Java
Apache License 2.0
51 stars 33 forks source link

How to connect with password an username #35

Closed lenovouser closed 9 years ago

lenovouser commented 9 years ago

Is it the same as in java_nats?:

"nats://teppei:T0pS3cr3t@localhost:4222"

(Source)

mheath commented 9 years ago

Yes.