If I'm not mistaken there are other useless dependencies for this API (PostOffice, addressSettingsRepository)
the simplest API that could possibly work is:
public void loadMessageJournal(final PagingManager pagingManager, final ResourceManager resourceManager, final Map<Long, Queue> queues, final Map<SimpleString, List<Pair<byte, Long>>> duplicateIDMap) throws Exception
I'm looking at the dependencies between components when the server is started. Having the minimal dependencies which *really* count helps see how things should be properly created/started/deployed.
Yes, please remove any unneeded dependencies :)
It's when you have to draw a dependency graph than you really appreciate enforcing Demeter's law ;)