web stats
Logging timestamp or ACK in a file when messages hit source queue - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2018, 07:30 AM
DragonQueen DragonQueen is offline
OBX.1 Kenobi
 
Join Date: Aug 2016
Posts: 37
DragonQueen is on a distinguished road
Default Logging timestamp or ACK in a file when messages hit source queue

We recently ran into an issue where the client says they sent the message at 8:31 but we log timestamps of when we start processing and it shows we picked the message at 8:42. We prune messages over 14 days so we have no logs of when the message hit the source queue. We currently send response before processing. How can I log the ACKs for each message OR write some sort of code to log timestamp at the source when it is received and queued.

Thank you
Reply With Quote
  #2  
Old 12-31-2018, 10:13 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,028
agermano is on a distinguished road
Default

When using the source queue your ACK is generated before processing. At best you can log when the message is processed from the queue, not when it was received or the response was sent.

The ACK content and the received/response time are all included in the messages you are pruning (assuming the channel storage level is set appropriately.) If you need to save that information after it is pruned, you can enable archiving in the pruner settings.
Reply With Quote
Reply

Tags
ack, log file, queue, queued messages

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation