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
The requester can check the requester at any time - when a request comes in or even during a long processing - and react accordingly by stopping the processing.
254
+
The responder can check the requester at any time - when a request comes in or even during a long processing - and react accordingly by stopping the processing.
255
255
Note each call to `Context#isRequesterAlive(Message)` implies a request to the broker.
256
256
257
257
Let's see how to customize some of the request/response support mechanics.
258
258
Imagine the request `message-id` property is a critical piece of information and we do not want to use it as the correlation ID.
259
259
The request can use the `correlation-id` property and the responder just has to extract the correlation ID from this property (instead of the `message-id` property by default).
260
-
Let's also use a random UUID for the correlation ID generation (avoids doing this in production: this is OK in terms of uniqueness but not optimal in terms of performance because randomness is not cheap).
260
+
Let's also use a random UUID for the correlation ID generation (avoid doing this in production: this is OK in terms of uniqueness but not optimal in terms of performance because randomness is not cheap).
0 commit comments