Support for variable replacement in clientID and message selectors in BridgeService
deployment descriptor
---------------------------------------------------------------------------------------------------------
Key: JBMESSAGING-1169
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-1169
Project: JBoss Messaging
Issue Type: Feature Request
Components: Messaging Core
Affects Versions: 1.4.0.SP1
Environment: All environments
Reporter: Abel Munoz Alcaraz
Assigned To: Tim Fox
Priority: Minor
Fix For: 2.0.0 Alpha
This enhancement will allow the replacement of variables (literals, java properties, OS
variables) by its content.
For example:
If you set this clientID in the descriptor "<attribute
name='ClientID'>${hostname}</attribute>" the string ${hostname} will
be replaced with the local computer name. The variable names must be beetwen this
characters: ${} (ant style).
At the first release we could support this types:
${hostname} --> local computer name
${hostaddress} --> local computer ip address
${hostaddress:xxx.xxx.xxx.xxx} -> local computer adapter ip (useful for VPNs:it search
what is the network adapter who allows traffic to xxx.xxx.xxx.xxx and gets its ip)
${env:xxxxxx} -> OS xxxxx variable
${java:xxxxx} -> java property (java -Dxxxx=?????)
This enhancement will allow automatic deployment of any number of AS in a, for example,
big private network of ASs with one master server and client servers with durable
subscriptions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira