Skip to main content

SrdiMessage with mutiple Entry of the same type

1 reply [Last post]
Joined: 2007-02-15


It seams to me that an SrdiMessage cannot contain multiple entries of the same type.
In my application, sometimes it happens that the same advertisement can be sequentially flushed and published between 2 pushSrdi (I.E 30s ). The consequence of that is that the publish is never seen by the RDV because the SrdiMessage only contains the flush.
The reason why an SrdiMessage cannot be filled by multiple entries of the same type is that the SrdiMessage.entries attribute is implement by an HashSet (backed by an HashMap !).
To fix this issue, I have just replaced the HashSet by an ArrayList.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-03-21

if you put mutiple entries into one srdimessage, will it improve efficiency when you query someting?