Is there any way to receive the old sent message before subscriber init? #1856
-
I'm using callback mode to receive the message. For everytime my publisher sent a message before the subscriber init, my subscriber can't receive it anymore. Do we have any ways to achieve it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
As far I know - No. If the publisher only sends messages to the subscribers it is aware of. I'd recommend setting up any subscribers and publishers your program will need as early as possible. You could consider a synchronization delay between initializing the publisher/subscribers and sending the data; decreasing the registration refresh period, or using the client-server service API (if you need reliable call and response). |
Beta Was this translation helpful? Give feedback.
-
Thank you @DownerCase. That fits all. |
Beta Was this translation helpful? Give feedback.
As far I know - No. If the publisher only sends messages to the subscribers it is aware of. I'd recommend setting up any subscribers and publishers your program will need as early as possible.
You could consider a synchronization delay between initializing the publisher/subscribers and sending the data; decreasing the registration refresh period, or using the client-server service API (if you need reliable call and response).