4 Replies Latest reply on Nov 21, 2008 6:36 AM by Mark Little

    How to set node identifier at runtime?

    Sergey Zhigunov Newbie

      At the server start-up my application reads the configuration from the database. Part of it is a name which I wand to use as TM node identifier. By that time TM is already started, so it is to late to set com.arjuna.ats.arjuna.xa.nodeIdentifier property. By looking to the source I found TxControl.setXANodeName() which does the job.

      My concern is that this class may be changed in the future JBossTM releases (not a public API).

      Is there a better way?

      Thanks