0 Replies Latest reply on Dec 8, 2009 12:50 PM by Peter Brewer

    Transaction timeout via activation config

    Peter Brewer Novice

      I have previously used JBoss Messaging 1.4.3 and am in the process of upgrading to HornetQ. In JBM the MDB could be annotated with:

      @MessageDriven(name = "batchingMDB", activationConfig = {
       @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
       @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/batchingQueue"),
       @ActivationConfigProperty(propertyName = "transactionTimeout", propertyValue = "86400")

      This allowed the transaction to last longer than the JBoss default of 5min, but doesn't seem to work in HornetQ and the transaction gets aborted.

      Is there an equivalent property or configuration to change the transaction timeout on the MDB?

      Many thanks, Peter.