TIBCO ActiveSpaces supports persistence to a DB of your choice when spaces are configured in shared_all persistence mode.
By implementing the Persister interface in Java, C or .NET, you are able to create a persistence client that connects to your DB and joins the metaspace, receives callbacks on AS events and handles persistence to and from the DB.
You can download a code sample in Java (DISCLAIMER: NOT PRODUCTION READY, just a sample!) showing you how to create the persistence client to an Oracle DB.
Showing posts with label ActiveSpaces. Show all posts
Showing posts with label ActiveSpaces. Show all posts
19/04/2014
29/03/2014
[TIBCO BusinessEvents] Listen for ActiveSpaces events
When working with TIBCO BusinessEvents, it's possible to create a channel on which to listen for TIBCO ActiveSpaces events such as:
- TIBAS_EVENT_PUT when a tuple is inserted, overwritten, or updated
- TIBAS_EVENT_TAKE when a tuple is taken or removed
- TIBAS_EVENT_EXPIRE when a tuple reaches the end of its time to live and expires from the space
- TIBAS_EVENT_SEED when there is redistribution after a seeder joins or leaves, and the local node is seeding or unseeding. This is only applicable if the listener distribution scope is SEEDED
- TIBAS_EVENT_UNSEED when there is redistribution after a seeder joins or leaves, and the local node is seeding or unseeding. This is only applicable if the listener’s distribution scope is SEEDED
Subscribe to:
Posts (Atom)