5 Replies Latest reply on Feb 6, 2017 11:32 AM by tomjenkinson

    Programatic configuration

    jsantos.f58

      Trying to set up Narayana under Spring management. It seems to work as expected but I do have a requirement to configure the transaction manager from spring beans.

       

      I've tried everything I could think of, to no avail. Narayana still uses the default object store path instead of the one I configure.

       

      I'm calling arjPropertyManager.getObjectStoreEnvironmentBean().setObjectStoreDir("/tmp/objectStore") after which the directory "/tmp/objectStore" is created, but not used. It still creates another directory which it actually uses. What other config am I missing?

       

      I'm using JTA.