Skip to content

Modules PUML diagram to follow event dispatch source #731

@znaczek

Description

@znaczek

I have 3 domain modules:

  • Orders,
  • Products,
  • Payments.

To avoid having too many similar/identical DTOs/events in the above modules, I decided to put them in a Shared module of typeApplicationModule.Type.OPEN. I've set up async communication between them using @EventListener/@TransactionalEventListener.

When I generate docs with Documenter#writeModulesAsPlantUml I am getting a diagram, where business modules listen to Shared module:
image
while I would expect something like:
image

As I understand based on the above images, doc generator simply checks in which module an event class resides. To get the desired output, it might check in which module an event class is dispatched instead.

Would that be possible?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions