Using the AQ adapter to send messages to the database