FIFO message exeption when writing an entry

Q:
Why do I get a FIFO message exeption when I write an entry to the space?

A:
This is a know issue in V4.1
(it was fixed for later builds.)

You must perform a *snapshot *operation prior to writing your entry to the space.

Please have a look at the following code segment:

IJSpace myProxy = (IJSpace) SpaceFinder.find(...//your original url ..//);
EEMessageHolder msgHolder = new EEMessageHolder ();
msgHolder .setFifo(true);
myProxy.snapshot(msgHolder); //this is the required additio

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2006-08-24 11:22:01 -0500

bernard gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete