Saving messages locally and globally

HI,

I am sending messages and setting some plugin program specific parameters in the Message.setProperty() method. I was wondering how you can make spark save that field in the local message history.

Also, is there any way to save all messages to the database?

Cheers,

John.