Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently there is an interface named ConsumerImpl... this is a very bad name
Replace ConsumerImpl with MessageInstanceConsumer (an interface reflecting the operations the transport layers need to perform on a consumer). Consumer will extend MessageInstanceConsumer to reflect the operations which occur on a managed object.
In general for a given type of MessageSource, the implementations of MessageInstance and MessageInstanceConsumer will be tightly coupled to the implementation of the MessageSource. The transport layer will create a message instance consumer by calling addConsumer on the MessageSource with the transport layer target.