activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Mellor <>
Subject Setting client prefetch in Artemis Core API
Date Wed, 26 Apr 2017 20:52:23 GMT

How do I set the client prefetch when using the Artemis Core API?  I've
seen examples of setting it in the URL when using the JMS API but couldn't
find anything that worked for the Core API.

I am creating my client consumer as so:

ServerLocator locator = ActiveMQClient.createServerLocatorWithoutHA(
    new TransportConfiguration(InVMConnectorFactory.class.getName())

ClientSessionFactory factory = locator.createSessionFactory();
ClientSession session = factory.createSession();

ClientConsumer consumer = session.createConsumer("queue");

Thanks in advance


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message