user3138101
user3138101

Reputation: 91

can someone explain me the syntax of '${' and ':' in standalone.xml?

can someone explain me the syntax of '${' and ':' in standalone.xml of JBoss (for example) , like in :

port-offset="${jboss.socket.binding.port-offset:0}" ?

I know 'jboss.socket.binding.port-offset' is a system properties . so if it is being set - it will overwrite the 0 value? what is the meaning of the ':' in this context ?

Upvotes: 0

Views: 54

Answers (1)

flafoux
flafoux

Reputation: 2110

from here

As you can see it contains a Beanshell expression which means, unless the jboss.socket.binding.port-offset is set, it evaluates to 0 so to standard sockets.

Upvotes: 1

Related Questions