Skip to main content
removed fluff
Source Link
mustaccio
  • 26.9k
  • 24
  • 58
  • 74

In real life AQ can be used to send notifications to customers when a specific actions are performed in the database.

Consider an example where a user requested for purchase of an item. As soon as the payment is received an order will be created by populating in queue with the details.This This queue will have subscribers for the shop owner and the payment messaging applications.

So subscriber 1 i.e. shop owner(any notification to be sent to shop owner) will pick the message about the item to be shipppedshipped. and another subscriber will prepare the notification about item purchased so in this case once the message is processed by both the subscriber the order is marked as complete and message from queue is removed.

If during the processing of the order there is any error an entry will be marked in the exception queue and then the exception queue messages can be processed later on.

Regards, Sumit

In real life AQ can be used to send notifications to customers when a specific actions are performed in the database.

Consider an example where a user requested for purchase of an item. As soon as the payment is received an order will be created by populating in queue with the details.This queue will have subscribers for the shop owner and the payment messaging applications.

So subscriber 1 i.e. shop owner(any notification to be sent to shop owner) will pick the message about the item to be shippped. and another subscriber will prepare the notification about item purchased so in this case once the message is processed by both the subscriber the order is marked as complete and message from queue is removed.

If during the processing of the order there is any error an entry will be marked in the exception queue and then the exception queue messages can be processed later on.

Regards, Sumit

In real life AQ can be used to send notifications to customers when a specific actions are performed in the database.

Consider an example where a user requested for purchase of an item. As soon as the payment is received an order will be created by populating in queue with the details. This queue will have subscribers for the shop owner and the payment messaging applications.

So subscriber 1 i.e. shop owner(any notification to be sent to shop owner) will pick the message about the item to be shipped. and another subscriber will prepare the notification about item purchased so in this case once the message is processed by both the subscriber the order is marked as complete and message from queue is removed.

If during the processing of the order there is any error an entry will be marked in the exception queue and then the exception queue messages can be processed later on.

Source Link

In real life AQ can be used to send notifications to customers when a specific actions are performed in the database.

Consider an example where a user requested for purchase of an item. As soon as the payment is received an order will be created by populating in queue with the details.This queue will have subscribers for the shop owner and the payment messaging applications.

So subscriber 1 i.e. shop owner(any notification to be sent to shop owner) will pick the message about the item to be shippped. and another subscriber will prepare the notification about item purchased so in this case once the message is processed by both the subscriber the order is marked as complete and message from queue is removed.

If during the processing of the order there is any error an entry will be marked in the exception queue and then the exception queue messages can be processed later on.

Regards, Sumit