Thanks Johannes, this seems to work.
One extra optimization I have a question about:
I added an entry to the metabundle that gets updated based on the list that is maintained in the extension block of the bundle.
This way I only have to access the storage when a change is actually necessary.
My concern is regarding the call "setKnown(meta)" in BaseRouter.cpp. I assume that I have to update the list of metabundles, but I wasn't sure if calling this again was okay, since the bundleId would be the same as before.
I traced that call down to: "MemoryBundleSet::add" and the "bundle.addTo(_bf)" call seems like it was cause duplication.
Should I not be worried about this, or is there a better way to update the list of metabundles at the base router?
Thanks again,
Tomasz