-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Sprint:2021.R5 CloudLink Sprint 2
-
SCRUM Team:Globogym Purple Cobras
-
Story Points:3
-
Work Type Classification:Sustaining
Inside the CFA Message Processor, we:
- Pull a message from tbCFAMessage
- Convert it to a Transaction
- Then Send it to the Sales Queue
Desired Output: After that, we need to mark the record in tbCFAMessage as done (IsDue=0). The same messages are currently getting picked up each time because we're not setting the IsDue flag to 0.
The MessageExportService does something very similar, see "MessageExportService.cs": "MsmqDelivery"
externalMessage = new ExternalMessage(); foreach (var export in exports) { externalMessage.UserInfo = export.MessageId; externalMessage.PolledDate = export.CreatedAt; externalMessage.MessageSource = export.MessageSource; externalMessage.MessageTypeDescription = export.MessageTypeCode; externalMessage.UnCompressedData = export.ExportData; var message = new Message(externalMessage, _messageFormatter) { Label = externalMessage.MessageSource + ":" + externalMessage.MessageTypeDescription + ":" + externalMessage.UserInfo, Priority = MessagePriority.Normal, Recoverable = true, AttachSenderId = true }; messageQueue.Send(message, MessageQueueTransactionType.None); deliveredFiles.Add(new AcknowledgeMessageExportDelivery.Entry(export)); _metrics.IncDeliverySuccess(); }
See how the MessageExportQueueRepository-> AcknowledgeMessageExportDelivery method handles this
- implements
-
CFAMX-14120 CloudLink - MVP
- Open
1.
|
Review Test Scripts | Done | Unassigned |
|
|||||||||
2.
|
Deploy | Done | Unassigned |
|
|||||||||
3.
|
Functional Review with QA | Done | Sree Surapaneni |
|
|||||||||
4.
|
DIT | Done | Sree Surapaneni |
|
|||||||||
5.
|
Design Review | Done | Sree Surapaneni |
|
|||||||||
6.
|
Build Acknowledgment Message | Done | Sree Surapaneni |
|
|||||||||
7.
|
Write stored proc to update IsDue flag when processing a batch of Acknowledgments | Done | Sree Surapaneni |
|
|||||||||
8.
|
Update CFA Message Processing service to send Acknowledgments | Done | Sree Surapaneni |
|
|||||||||
9.
|
Create Test Cases | Done | Gareth Leibbrandt (Inactive) |
|
|||||||||
10.
|
Execute Test Cases | Done | Gareth Leibbrandt (Inactive) |
|