RabbitMQ Connection
This section covers everything you need to establish and maintain a connection to the TRADE data feed via RabbitMQ.
Overview
TRADE uses RabbitMQ (hosted on CloudAMQP/AWS) to deliver real-time sports data. The connection process involves:
Enabling your distribution - Activating your data package
Establishing connection - Connecting to the RabbitMQ server
Consuming messages - Processing incoming data messages
Handling message types - Understanding and processing different message formats
Topics in This Section
Connection & Consumption Setup - Step-by-step guide to connect to RabbitMQ
Message Deserializing - How to decode and parse incoming messages
Market/Bet Message Handling - Processing market and bet data
Working with TRADE Feed - Best practices for feed consumption
Header-Based Routing
Every RabbitMQ message includes metadata headers you can read before deserializing the payload. This includes MessageType, FixtureId, and SportId — so you can route or filter messages by sport at the consumer level without touching the message body. See RabbitMQ Header for the full list.
Connection Details
Host
stm-rmq.lsports.eu
Port
5671 (TLS)
Virtual Host
Customers
Protocol
AMQP 0.9.1
Quick Start
Contact your Customer Success Manager (CSM) to obtain your credentials.
Last updated
Was this helpful?