MTS SDK - Java

Versions:

2.4.1.2 (12/4/2023) recommended
Rebalanced reconnect timings and reconnects, updated documentation

2.4.1.1 (12/7/2022)
Full support for mts ticket version 2.4

2.4.1.1 (12/7/2022)
Changed url stgapi.betradar.com and api.betradar.com to global

2.4.1.0 (9/22/2022)
Full support for mts ticket version 2.4

2.3.6.0 (3/22/2021)
Extending MtsSdk with ReportManager for accessing CcfChange history reports
Fix: removed logging of access token in logs (security)
Fix: minor memory leak for client app

2.3.5.0 (11/6/2020)
Added # to the User ID pattern
MtsSdk extended with getConnectionStatus - can be used with connection change listener
Fix: make serialization synchronized
Removed ticket selection count limit

2.3.4.0 (4/7/2020)
Allow 0 cashout stake when building TicketCashout
Added client_properties to rabbit connection
Added argument to rabbit queue declare: queue-master-locator
Examples updated to use UOF markets
Changed connection heartbeat from 45s to 20s
Changed jackson.version from 2.6.5 to 2.10.1

2.3.3.0 (10/25/2019)
Added onTicketResponseTimedOut handler in TicketResponseHandler
Added configuration property ticketResponseTimeoutPrematch
Added setTicketResponseTimeoutLive and setTicketResponseTimeoutPrematch to SdkConfigurationBuilder
Default timeout for ticket response for live selections increased from 15s to 17s
Added new distribution channels

2.3.2.0 (7/25/2019)
Made Ticket objects serializable
Removed use of singleton for CustomBetSelectionBuilder
Added Content-Type to AdditionalInfo property of response tickets
Fix: CustomBet can be set without odds
Fix: Selection Odds changed from int to Integer

2.3.1.0 (5/30/2019)
Support for custom bet
Added getCustomBetManager to MtsSdkApi
Exposed custom bet fields on Ticket

2.3.0.0 (5/10/2019)
Support for ticket version 2.3
Support for non-Sportradar ticket settlement
Added lastMatchEndTime to Ticket and TicketBuilder
Added TicketNonSrSettle and TicketNonSrSettleBuilder

1.8.0.0 (2/27/2019)
Added support for Client API - added method getClientApi on MtsSdkApi
Added configuration for ticket, ticket cancellation and ticket cashout message timeouts

1.7.0.0 (2/7/2019)
Adding acking on consumers message processed
Added AutoAcceptedOdds to ITicketResponse
Added AdditionalInfo to all ticket responses
Fix: settings corrected for sending ticket cancel and reoffer cancel message
Fix: default langId in EndConsumer to null

1.6.0.0 (11/28/2018)
Support for ticket version 2.2
Added AutoAcceptedOdd to TicketResponse
Added TotalCombinations to Ticket and TicketBuilder
Added BetCashout to TicketCashout - support for partial cashout
Added BetCancel to TicketCancel - support for partial cancellation
Removed deletion of consumer queues on close
Reviewed and updated documentation and properties files

1.5.0.0 (10/5/2018)
Added 'exclusiveConsumer' property to the configuration, indicating should the rabbit consumer channel be exclusive (default is true)
Added YAML config support
Added Ticket response timeout callback (Ticket, TicketCancel, TicketCashout) to notify user if the ticket response did not arrive in timely fashion (when sending in non-blocking mode)
Added timeout when fetching MarketDescriptions from API fails (30s)
Improved handling and logging for market description (for UF markets)
Fix: BetBonus value condition - if set, must be greater then zero
Minor fixes and improvements

1.4.0.0 (3/26/2018)
SenderBuilder.confidence changed from long to Long
RabbitMQ TLS validation
Exposure of ticket JSON payloads trough SdkTicket.getJsonValue
Various small fixes and improvements

1.3.0.0 (1/17/2018)
Support for ticket and ticket response v2.1:
- selection id max length increased to 1000
- bet bonus decreased to min 0
- deprecated response internal message
- added rejection info to ticket response selection
- added response additional info
- bet id is now nullable
- specific sender channel validation removed
- end customer can now have all properties nullable
- sum of wins is now nullable

1.2.1.0 (12/21/2017)
Fix: TicketBuilder for multi-bet tickets with same selections but different odds or different banker value
Fix: TicketReofferBuilder

1.2.0.0 (11/16/2017)
Added support for setting port via SdkConfigurationBuilder

1.1.5.0 (10/19/2017)
Added SdkConfigurationBuilder for building SdkConfiguration

1.1.4.0 (10/10/2017)
Sender.Currency property updated to support also 4-letter sign (i.e. mBTC)

1.1.3.0 (9/13/2017)
Added new settings property 'provideAdditionalMarketSpecifiers'
Fix: building selection id with UF specifiers
Fix: removed precondition check for selectionDetails in ticket response
Fix: removed requirement for EndCustomer.Id for Terminal and Retail sender channel

1.1.2.0 (8/28/2017)
Exposed property CorrelationId in all tickets and ticket responses
Refined logging within sdk (for feed and rest traffic)
Property SelectionDetails on ticket response changed to optional
Updated example with new BuilderFactory (available on MtsSdk instance)
Internal: 'selectionRef:[]' removed from json when empty
Internal: added ConsumerTag to consumer channels

1.1.1.0 (7/6/2017)
Logback logging framework removed from the SDK, so any logging framework can now be used
Sender validation updated
Sender channel phone removed
Selection eventId type changed from long to String
AMQP message delivery_mode changed from 2 to 1(persistent to non-persistent delivery)
Minor bug fixes


1.1.0.0 (5/15/2017)
Added ticket reoffer support
Added cashout ticket support
Minor bug fixes

1.0.0.0-beta (4/6/2017)
Initial release (supports MTS tickets version 2.0)