Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Is FIFO group ordering maintained during takeMultiple + writeMultiple

We have some process which is only responsible for taking some OutboundMessage objects which are FIFO ordered by some property (via @SpaceFifoGroupingProperty) and writing it to another space.

Currently we use a single take + write within transaction and we would like to try takeMultiple + writeMultiple for more efficient processing. The take operations will be executed against the local/colocated space and the write operations will be performed on a remote space.

The question is: Is the FIFO group ordering maintained with a take/writeMultiple?

Another related question:
Can we use the PollingContainer with the MultiTakeReceiveOperationHandler? or would it be better to do a blocking read and afterwards a takeMultiple if the read returned a non-null value?

asked 2015-07-24 13:43:19 -0500

leozilla gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Hi Leozilla,

You can try using the PollingContainer with the MultiTakeReceiveOperationHandler. Per the documentation it does support FIFO grouping. http://docs.gigaspaces.com/xap101/fif... , see section "Working Patterns".



answered 2015-07-27 13:50:46 -0500

Dixson Huie gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-07-24 13:43:19 -0500

Seen: 9,342 times

Last updated: Jul 27 '15