core-java icon indicating copy to clipboard operation
core-java copied to clipboard

Do not configure multitenantcy flag in Bus builders

Open alexander-yevsyukov opened this issue 7 years ago • 1 comments

... take it from a BoundedContext into which the bus is inserted.

A bus cannot have a different setting. So there's no sense in the API for configuring it in a builder.

alexander-yevsyukov avatar Aug 21 '18 14:08 alexander-yevsyukov

At this point it's only present in CommandBus.Builder and used later to ensure that a Command posted to a multitenant CommandBus has a tenant ID set.

armiol avatar Mar 18 '19 17:03 armiol