Skip to content

NIAD-2865: Inbound messages are stored on AMQP durably#148

Merged
adrianclay merged 5 commits intodevelopfrom
NIAD-2865
Oct 17, 2023
Merged

NIAD-2865: Inbound messages are stored on AMQP durably#148
adrianclay merged 5 commits intodevelopfrom
NIAD-2865

Conversation

@adrianclay
Copy link
Copy Markdown
Contributor

@adrianclay adrianclay commented Oct 16, 2023

What

Messages sent to the inbound AMQP are configured with durability. This means that the broker will try its hardest to keep the message, e.g. in the event of a reboot.

Why

These messages shouldn't be lost, as they can be part of clinically important data transfers, e.g. GP2GP

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the Changelog with details of my change in the UNRELEASED section if this change will affect end users

That way if the broker is restarted the message isn't lost.
The changes to send messages reliably are unlikely to have broken the
MHS adaptors ability to process Asyncronous Reliable Messaging.

The AsynchronousExpressMessagingPatternTests are executing the same
change and are passing which provides evidence that this won't affect
the ReliableMessagingPatternTests.
@adrianclay adrianclay marked this pull request as ready for review October 17, 2023 12:47
@adrianclay adrianclay enabled auto-merge (squash) October 17, 2023 12:48
@adrianclay adrianclay merged commit 1635343 into develop Oct 17, 2023
@adrianclay adrianclay deleted the NIAD-2865 branch October 17, 2023 13:12
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

Successfully merging this pull request may close these issues.

2 participants