I don' t know if this is what you asked, but all you need is to provide
a CacheStore implementation for the JBMJournal, just like you do for
JDBC, and BDB Java.
on the JBM case, we also have our equivalent to your CacheStore. We call
it StorageManager.
http://anonsvn.jboss.org/repos/messaging/trunk/src/main/org/jboss/messagi...
The Journal itself don' t have any dependency on Messaging:
http://anonsvn.jboss.org/repos/messaging/trunk/src/main/org/jboss/messagi...
On 07/30/2009 08:43 AM, Manik Surtani wrote:
I presume you mean as a cache store implementation, so we don't
have
to write our own file IO code for the FileCacheStore?
On 30 Jul 2009, at 14:33, Clebert Suconic wrote:
> I had a quick look on the Persistence code for Infinispan yesterday, and
> it looks like the JBoss Messaging Journal was just made for infinispan.
>
>
> The only thing I couldn' t understand was the streaming operations
> fromStream and toStream. What they are used for, and how they translate
> into multiple records?
>
>
> We have talked about making the Journal a sub project of JBoss
> Messaging, in a way other projects would be able to reuse (if that
> interests you guys).
>
>
>
> Cheers,
>
>
>
> Clebert
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org