Per documentation, following is the code required to enable auditing.
<audit:jdbcAuditor container="#jbi" autoStart="true">
<audit:dataSource>
<bean class="org.mysql.jdbc2.optional.SimpleDataSource">
<property name="databaseName" value="servicemixDB" />
<property name="user" value="user" />
<property name="password" value="password" />
</bean>
</audit:dataSource>
In my case, I have service assembly consisting of several service units. I
would like to enable auditing for all the service units in this SA.
Following are my questions:
1. How do I get reference to JBI container as required by jdbcAuditor
2. If I initialize one auditor for each of the SAs, how will each of the
auditors get registered with JMX
3. Is there any other mechanism to capture all the message in flowing in NMR
for a given SA.
Your reponse will be appreciated!
Thanks,
GD
--
View this message in context:
http://www.nabble.com/Audit-in-Service-Assembly-tf3693911s12049.html#a10329257
Sent from the ServiceMix - User mailing list archive at Nabble.com.