Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
M4
-
None
-
None
Description
Currently, MessageHandleFactory is used to hand out the right handle type. WIth the removal of the MessageHandles this class will be redundant.
However, a unified point for creating messages and so assigning message IDs would be beneficial.
Currently the MessageStore is responsible for that task but a MessageFactory would localise that information and make it easier to see how a message is created.
Currently IncomingMessage and the various MessageStores create the message in two different ways, understandable as one is recovery and one is normal delivery, however, using a MessageFactory would be a cleaner approach and localise the ID generation.