Skip to main content
May 6, 2025 6:57 AM UTC
Question

Custom Listener Registration

When Registering Listener in any xconf, we use property name="wt.services.service.{some int number}"

What is the use of that int number in property name

3 replies

3-Newcomer
May 6, 2025 9:27 AM UTC

Hello ,there is no specific logic for the numbers , just make sure to keep unique values : 

Register the New Service 

Fadel_0-1746523636987.png

 

May 6, 2025 10:45 PM UTC

The number is there simply to provide uniqueness in order to allow for registering multiple services.

 

Don’t overthink it

TDTAuthor
Oct 28, 2025 6:02 AM UTC

The Number tells the startup order of the services.

The number must be unique. When adding a custom service, it's recommended to use a number larger than the highest existing one to avoid conflicts.