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

lab integration getmessages pulls only 100 messages per facility at a time. It should only pull the messages that have not been processed #35

Open
ccwhite333 opened this issue Jan 10, 2022 · 1 comment

Comments

@ccwhite333
Copy link
Contributor

No description provided.

@ccwhite333
Copy link
Contributor Author

Per
https://github.com/IsantePlus/openhim-mediator-xds/blob/2568c76a52921deed3cf96df1c4fa34d6c52dc82/src/main/java/org/openhim/mediator/dsub/pull/MongoPullPoint.java#L62
MongoPullPoint.java
public List getDocumentIds(Integer maxDocumentIds) {
https://github.com/IsantePlus/openhim-mediator-xds|IsantePlus/openhim-mediator-xdsIsantePlus/openhim-mediator-xds | Added by GitHub
12:58
From the code, the messages are fetched in the natural descending order (-1 sort), so it will pull the most recent messages from the top currently and should effectively process all results posted daily.

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