Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageExpiry Hook #403

Open
aixj1984 opened this issue May 13, 2024 · 6 comments
Open

MessageExpiry Hook #403

aixj1984 opened this issue May 13, 2024 · 6 comments

Comments

@aixj1984
Copy link

5.0里面有消息过期的设置,但是如果消息真过期了,没有对外的Hook函数

@aixj1984
Copy link
Author

Sorry, OnQosDropped 能够支持这个

@aixj1984
Copy link
Author

OnQosDropped 是在客户单订阅情况下的过期回调,那如果发布的消息,到期一致没有人订阅,是使用这个hook么,OnPublishDropped,当前测试无效

@aixj1984 aixj1984 reopened this Aug 22, 2024
@aixj1984
Copy link
Author

非保留消息,OnRetainedExpired 这个有用么

@aixj1984
Copy link
Author

我这边的述求是想处理已经发布的消息,到期没人订阅后的回调

@aixj1984
Copy link
Author

aixj1984 commented Sep 4, 2024

Publish a message with an expiration time; if the message is never subscribed to, how can the expiration event of this message be captured?

@aixj1984
Copy link
Author

为什么在OnQosComplete里面,原包信息没有返回,这样信息完成后,都没法直接关联

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant