in my application I would like to divide the file jta.properties in two files: in the first one I want to locate properties hiden for the user like service or max_timeout, in the second one there should be properties which the user can decide like output_dir. But I’m not able to execute this division – is there any way to do it?
You would have to put the system properties in a separate file of your own, look it up before initialization and then use these properties as argument to the constructor of the UserTransactionServiceImp - as here (shown in Spring context): http://www.atomikos.com/Documentation/SpringIntegration#The_Advanced_Case_As_of_3_3
You can then have the user put whatever they like in the jta.properties file - the values will be overridden with whatever you supply to the constructor.
This topic is archived. No further replies will be accepted.Other recent topics