Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Complete
-
2.2.4
Description
When MongoDbMessageStore is used as message store for delayer it fails to read messages from MongoDB.
Delayer is wrapping GenericMessage into DelayHandler.DelayedMessageWrapper, and MongoDbMessageStore is warping this again to MongoDbMessageStore.MessageWrapper. In the database there are MongoDbMessageStore.MessageWrapper -> DelayHandler.DelayedMessageWrapper -> GenericMessage -> Payload.
MongoDbMessageStore.MessageReadingMongoConverter does not provide special handling for DelayHandler.DelayedMessageWrapper as it done for MongoDbMessageStore.MessageWrapper. And because DelayHandler.DelayedMessageWrapper stores GenericMessage without default constructor, MongoDbMessageStore.MessageReadingMongoConverter fails to read it from MongoDB.
Attachments
Issue Links
- depends on
-
INT-3049 DelayedMessageWrapper should be public in order to access the wrapped message from infrastructure code
-
- Closed
-