8.5.7. Configure the Message Journal in an application

You can set the file count and file size of the message journal for a queue by specifying qpid.file_size and qpid.file_count in the x-declare arguments of the address used to create a queue:
Python
tx = ssn.sender("my-queue;{create: always, node: {durable: True, x-declare: {arguments: {'qpid.file_size': 20, 'qpid.file_count': 12}}}}")