Products Downloads


French version


 

This function is used to retrieve a string message linked to a subject subscribed using the NatsSubscribe function. The message is acknowledged if necessary (JetStream).


Context

  • Windows client

  • Windows server

  • Java client

  • Java server

  • Adelia Web Client

  • Adelia Cloud client

  • Event Adelia client


Parameters

NUM_BIN_4

Handle

Connection ID

ALPHA

Subject

Subject
NUM_BIN_4

Timout

Wait time

ALPHA

ReplyTo

Subject in which a reply must be transmitted. Output parameter.

NUM_BIN_4

ReplyToLength

Length of ReplyTo parameter

ALPHA

MessageTextMessage text. Output parameter.

NUM_BIN_4

MessageTextLength

Message text length

NUM_BIN_4

RcFunction return code. The possible values are provided in NatsLastError function documentation. Output parameter.



Example

ALPHA(250)   replyTo
ALPHA(32700) message
NUM_BIN_4    timeout
...

timeout = 500

CALL_DLL 'NatsToolBx' 'NatsGetStringMessage' Handle 'orders.france' timeout replyTo 250 message 32700 Rc4


↑ Top of page





  • Aucune étiquette