On Wed, Aug 6, 2008 at 8:11 PM, Benoît Clouet <[EMAIL PROTECTED]>wrote:

> In fact, in an enterprise development I fond much simpler and more robust
> to have to deal with files than with a db.
>
> For example, how do you delete some old aged exchanges traces with the
> embedded DB to avoid fs saturation and some loss of performance? I suppose I
> have to write some java program to do so what I don't want to.
>


Don't you think you will need to make a development to handle the file purge
(probably a shell-script)
The db purge can be done with shell scripts too ...

>
>  Moreover, I had some bad experience while doing some tests on servicemix
> examples. Servicemix refused some time to start, complaining db wasn't
> accessible. An issue easy to solve in dev phase (you just delete the data
> dir and restart) but what happens if your business user wants to keep audit
> track?
>

Yes it is a fact ..

>
> Maybe you have some alternate idea or experience to share?


You can use the same starting point of File and Jdbc Auditor by extending
BaseSystemService (which gives you JMX exposition)
and implements ExchangeListener interface to be aware of message exchange.
This is what I've done to implement my custom needs but we keep the db
storage as we are used to handle this.

Manuel

>
> Benoît
>
> Le 6 août 08 à 19:42, "Manuel EVENO" <[EMAIL PROTECTED]> a écrit :
>
>
>  Can't you use the JdbcAuditor instead ?
>>
>> Manuel
>>
>> On Wed, Aug 6, 2008 at 8:20 AM, Benoît Clouet <[EMAIL PROTECTED]
>> >wrote:
>>
>>  Hello and sorry for my previous mail I fired a bit too fast.
>>>
>>> I would like to extend the FileAuditor in a way that would allow it to be
>>> re-used in the audit page of the servicemix web console. Does anybody has
>>> some ideas on the way t'on do it? Is there any documentation that could
>>> help
>>> me to achieve this?
>>>
>>> Thanks in advance for your ideas.
>>>
>>> Benoît
>>>
>>

Reply via email to