Project

General

Profile

Service Discovery: hide or customize information about server name and version.

Dmitry Anatolievich
Added about 4 years ago

Hello, everyone.

I use Psi client. And i can see the information about server name and version through Service Discovery.

Please, see the screenshot at the attachment.

Can i hide this information or customize it (something like, "My custom server, version 1.0")?

Thx and best regards.


Replies (3)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

It's not configurable; you would need to change either pom.xml before building or files inside jars/tigase-server.jar (manifest) afterwards.

You can customize both name and choose whether to show or not version information in service discovery, simply add following to your etc/init.properties

message-router/disco-name[S]=Tigase
message-router/disco-show-version[B]=true

Btw. what is the motivation to change it?

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 4 years ago

Dmitry, there is a way and the topic has been updated but email notification is not sent if a message is edited, so I am posting this again for you.

message-router/disco-name[S]=Tigase
message-router/disco-show-version[B]=true

Added by Dmitry Anatolievich about 4 years ago

Thanks a lot, guys.

    (1-3/3)