Hi,
I need to store messages in a database.
But in order to speed messages lookup I thought about storing some key field
in individual columns, like Account, Symbol, ClOrdID, or whatever.
I tried to implement my own MessageStore, similar to JDBCStore.
The problem is that the 'set' method receives a String as the message,
instead of a Message object.
So I would need to reconstruct the object using a MessageFactory, but I'm
afraid this will be very inneficient.
Did anybody have the same kind of problem?
Thanks,
Danilo
|