Reference: Window-Based Flow Control Window-size Default
19.1.1.1. Using Core API If HornetQ Core API is used, the consumer window size is specified by ClientSessionFactory.setConsumerWindowSize() method and some of the ClientSession.createConsumer() methods.