org.apache.activemq.artemis.tests.unit.core.postoffice.impl.FakeQueue

Here are the examples of the java api class org.apache.activemq.artemis.tests.unit.core.postoffice.impl.FakeQueue taken from open source projects.

1. PageCursorStressTest#createNonPersistentCursor()

Project: activemq-artemis
File: PageCursorStressTest.java
/**
    * @return
    * @throws Exception
    */
private PageSubscription createNonPersistentCursor(Filter filter) throws Exception {
    long id = server.getStorageManager().generateID();
    FakeQueue queue = new FakeQueue(new SimpleString(filter.toString()), id);
    queueList.add(queue);
    PageSubscription subs = lookupCursorProvider().createSubscription(id, filter, false);
    queue.setPageSubscription(subs);
    return subs;
}