Variables in xml files

17 views
Skip to first unread message

Aucxence Daniel

unread,
Sep 3, 2025, 2:19:09 PMSep 3
to jPOS Users
Hello all. Glad to be part of this big community. I'm using JPOS (not JPOS-EE). I have a question about my server.xml file.

<server class="org.jpos.q2.iso.QServer" logger="Q2" name="server_iso">
  <attr name="port" type="java.lang.Integer">10000</attr>
  <property name="allow" value="127.0.0.1" />
</server>

How could I replace "10000" and "127.0.0.1" with variables ? Where would I save the variables and how would I reference them in this file ?

Best regards

Alejandro Revilla

unread,
Sep 3, 2025, 2:52:21 PM (14 days ago) Sep 3
to jpos-...@googlegroups.com

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jpos-users/d9c64015-a750-4bb5-9202-5657deba9123n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages