public static AsyncTaskLifeCycleEventProducer newJMSInstance ( boolean transacted , ConnectionFactory connFactory , Queue queue ) { AsyncTaskLifeCycleEventProducer logger = new AsyncTaskLifeCycleEventProducer ( ) ; logger . setTransacted ( transacted ) ; logger . setConnectionFactory ( connFactory ) ; logger . setQueue ( queue ) ; return logger ; }
Creates new instance of JMS task audit logger based on given connection factory and queue .