Skip to main content

What is Message Queues?

Message queues carry data between OpenDataDSL and your own systems. An automation sends the day's settlement prices to the queue your ETRM reads, a process puts end of day positions on the queue of your risk system, and a broker portal drops trade files on a queue that the platform loads. When everything works, nobody looks at the queues. When something goes wrong, you need answers quickly:

  • Is the ETRM reading its queue, or are yesterday's prices still waiting on it?
  • Which messages could not be delivered, and why?
  • Can we send the failed messages again once the problem is fixed?
  • Did the platform actually send the TTF settlement price last night?
  • How many messages do we send each day, and how many fail?

Message Queues answers these in one screen. Throughout these pages we follow Northgate Energy, a fictional gas and power trader. Its ETRM reads settlement prices from the queue nge-etrm-prices, its risk system reads end of day positions from nge-risk-positions, and trade files from the broker portal arrive on nge-trade-inbound.

Message Queues with the queue nge-etrm-prices selected


Key ideas​

IdeaWhat it means
QueueA named Azure Service Bus queue that belongs to your company, such as nge-etrm-prices. Messages wait on it until a receiver takes them
MessageOne piece of data on a queue: a body (often JSON or CSV), a subject, a content type and properties
Active messageA message waiting to be received
Scheduled messageA message that only becomes available at a set time
Dead letter queueEvery queue has one. A message ends up there when it could not be delivered: a receiver failed to process it too many times, or the receiver dead lettered it because it could not use it
HandlerOptional. With a handler, the platform receives the messages itself as they arrive: trigger runs the automations on the queue, loader loads the data
Connection stringThe secret your applications use to send to and receive from one queue
Queue logOne record for every message the platform sent to a queue, with its status

What you get​

ScreenWhat it is for
Queues tabYour queues with the messages waiting, dead lettered and scheduled on each; add, edit and delete queues; the settings, connection string and code for the queue you select
Messages tabThe messages on a queue or its dead letter queue, read without changing them; open, delete, clear, move dead letters back to the queue, send a test message
Log tabEvery message the platform sent, searchable by queue, time, status and text
Statistics tabMessages sent per day, failures, sizes, the busiest queues, triggers and content types, the top failures and the current backlog
Home page tasksManage your message queues and Check dead letter messages

The extension adds Message Queues to the Deliver menu.


Where next​

  • Queues: create a queue, choose a handler and connect your applications
  • Messages: look at what is waiting, deal with dead letters and send test messages
  • Log and statistics: what the platform sent and how it went
  • Reference: permissions, the platform calls and good to know