Kumar K,
You can use plain Spring syntax:
<sm:services>
<sm:statistics statsInterval="10" dumpStats="true" />
<bean class="my.fully.qualified.ClassName">
</sm:services>
Gert
kumar k wrote:
Please tell me how to register it in servicemix.xml. Currently services has only one entry.
<sm:services>
<sm:statistics statsInterval="10" dumpStats="true" />
</sm:services>
Thanks
Guillaume Nodet <[EMAIL PROTECTED]> wrote:
The only simple way currently is to put the jar inside the lib folder of you
servicemix installation.
I'm thinking we should enable such deployment through the lightweight
container, but this has not been done yet.
On 10/8/07, kumar k wrote:
How should I package this class. Should it be deployed as SU/SA as a bean
component? or I need to change audit.jar?
Thanks
Gert Vanthienen wrote:
Kumar,
I'm afraid we do not have any good documentation on the servicemix-audit
features. There is an out-of-the-box JDBC auditor (have a look at the
javadocs for more information on that).
You can always create your own Auditor by creating a class that extends
AbstractAuditor (available in servicemix-audit.jar) and registering it
in conf/servicemix.xml under the services. Use the exchangeSent() and
exchangeAccepted() methods in the auditor to add code for logging
whatever information you need.
Gert
kumar k wrote:
Please give me a pointer for audit related features in Service Mix.
Thanks
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
panel and lay it on us.
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.