← Back to team overview

erma-core team mailing list archive

Re: [Question #44131]: NullPointerException thrown when using TransactionMonitor

 

Question #44131 on ERMA changed:
https://answers.launchpad.net/erma/+question/44131

    Status: Needs information => Open

JakubM gave more information on the question:
Stephen,

sure:

	<bean class="com.orbitz.monitoring.lib.BaseMonitoringEngineManager" init-method="startup" destroy-method="shutdown">
	  <constructor-arg ref="mpf"/>
	  <!-- constructor-arg ref="decomposer"/ -->
	</bean>

	<bean id="mpf" class="com.orbitz.monitoring.lib.factory.SimpleMonitorProcessorFactory">
	  <constructor-arg>
	    <list>
	      <ref bean="routeToLog"/>
	    </list>
	  </constructor-arg>
	</bean>

	<bean id="routeToLog" class="com.orbitz.monitoring.lib.factory.ProcessGroup">
	  <description>
	    Routes all monitoring events to the log files for easy development testing of instrumentation
	  </description>
	  <constructor-arg ref="AsyncProcessor"/>
	</bean>

	<bean id="AsyncProcessor" class="com.orbitz.monitoring.lib.processor.AsyncMonitorProcessor">
	  <constructor-arg>
	    <list>
	      <ref bean="LogProcessor"/>
	    </list>
	  </constructor-arg>
	</bean>
	
	<bean id="LogProcessor" class="com.orbitz.monitoring.lib.processor.LoggingMonitorProcessor"/>

You received this question notification because you are a member of
Erma-core, which is an answer contact for ERMA.