Tracking multiple SubmitAsync() messages

.NET library for SMPP protocol
Locked
aaksyonenko
Posts: 1
Joined: Tue Oct 01, 2013 1:01 am

Tracking multiple SubmitAsync() messages

Post by aaksyonenko » Tue Oct 01, 2013 1:08 am

I have a database that receives multiple transactions per second. I need to send a text for each transaction, as quickly as possible. And I need to mark each record with the date/time stamp the message was sent, date/time it was delivered, and delivery status. I thought to use asynchronous mode, but I cannot figure out how to identify in code which receipt goes with which message. Since SubmitAsync returns no value, I can't get the MessageID to match against the receipt MessageID. Is there a way to correlate asynchronous messages and delivery receipts? Maybe using some kind of a custom user parameter (like my record ID from database) that I can submit and get back with the receipt? This is intended to run as a service.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Tracking multiple SubmitAsync() messages

Post by alt » Thu Oct 10, 2013 12:45 pm

Locked