1 Reply Latest reply on Jul 2, 2008 12:42 PM by jhalliday

    PropagateFullContext property of TransactionManagerService

      Hi,

      I have tried setting the 'PropagateFullContext' property to 'true' on com.arjuna.ats.jbossatx.jta.TransactionManagerService mbean, but somehow its getting overwritten during the server startup. I have even tried setting it through JMX Console where its showing as 'false', but it was not getting set to 'true'

      Could somebody tell me how to set it as true

      Thanks in advance

        • 1. Re: PropagateFullContext property of TransactionManagerServi
          jhalliday

          /**
          * Set whether the transaction propagation context manager should propagate a
          * full PropagationContext (JTS) or just a cut-down version (for JTA).
          *
          * @param propagateFullContext
          */
          public void setPropagateFullContext(boolean propagateFullContext)
          {
          }

          /**
          * Retrieve whether the transaction propagation context manager should propagate a
          * full PropagationContext (JTS) or just a cut-down version (for JTA).
          */
          public boolean getPropagateFullContext()
          {
          return false ;
          }


          More to the point however is why you want to set it in the first place. It's never actually used by the JTA anyhow and exists in the JTA mbean only for compatibility with the JTS version of the mbean. Why anyone thought that was a good idea is another question entirely. Presumably something to do with reflection based configuration and not throwing errors when moving between JTA and JTS implementations. Which rather begs the question: why does the JTA mbean not also have useless get/setAlwaysPropagateContext methods? One of life's little mysteries.