Exposing routerId and transportId properties

It will be useful exposing the routerId and the transportId internal properties in Producer and Consumer classes. What do you think?


I don’t like exposing properties artificially. If you create a Producer you know in which Transport and Router you have created it, no need to ask later to the Producer to tell you that.

Yes, but I need to save the transportId into another variable (or in appData), but it is already stored into the Producer/Consumer class _internal property.

Yep, but that’s custom usage or custom needs. You can store it into appData or into another objects your app holds.