I’m new to MSMQ for .NET and have a question.
For my system I want to use MSMQ for queuing some system requests, but a customer wants to keep all information in database. I wonder is there any way to store MSMQ messages in database?
Currently I see the only way to create some record in database and put record id to queue.
Yes, you would need to read the records from your queue and store in a database. Typically you might do this using a Windows service.
Typically, you only need to use MSMQ if there might be intermittant networking connectivity between two locations or you think the number of requests exceeds what the database can handle in one go. Otherwise, just store straight in the database.