I want to add JSR 107 like listeners to a JCS region. 

I tried this but it didn't work:

        ICacheListener cacheEventListener = new 
JcsCacheEventListenerAdapter(this, myListener);
        CacheEventQueueFactory factory = new CacheEventQueueFactory();
        ICacheEventQueue cacheEventQueue = 
factory.createCacheEventQueue(cacheEventListener,
                                                                         0,
                                                                         
m_cacheName,
                                                                         "",
                                                                         
ICacheEventQueue.SINGLE_QUEUE_TYPE);


This compiles but the listener does not get notified. Is there something I need 
to do to start the queue?

Thanks,

Justin

Reply via email to