Clients -
nats :
Producer
NATS producer would act as a streaming client allowing to stream messages between NATS streaming server. Producer would create a new NATS connection if a connection was not provided during the initialization.
Constructor
__init
(ConnectionConfig | Connection c)
- c ConnectionConfig | Connection
-
An already established connection or configuration to create a new connection.
Remote Methods
send
Produces a message to a NATS streaming server for the given subject.
requestReply
Produces a message and would wait for a response.
Methods
Produces a message to a NATS streaming server for the given subject.