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

Ask Your Question
0

Controlling the Replication Redo Log

The following page has a code example:

https://docs.gigaspaces.com/xap/9.7/d...

However part of this no longer compiles because the gatewayTargets method of EmbeddedSpaceConfigurer no longer exists, and a simple review of the API doesn't indicate how assign the gateway target.

Can you update this example code?

Thanks

John

asked 2018-04-19 05:21:59 -0600

jb.ext gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

The following line is causing problems due to changes in the API to accommodate open source in version 12.0,

        gigaSpace[i] = new GigaSpaceConfigurer(new EmbeddedSpaceConfigurer("mySpace").clusterInfo(clusterInfo)
                .mirrored(true).replicationFilterProvider(new MyreplicationFilterFactory())
                .gatewayTargets(gatewayTargetsFactoryBean)).gigaSpace();

It should be replaced with:

        gigaSpace[i] = new GigaSpaceConfigurer(new EmbeddedSpaceConfigurer("mySpace").clusterInfo(clusterInfo)
                .mirrored(true).replicationFilterProvider(new MyreplicationFilterFactory())
                .customComponent(gatewayTargetsFactoryBean)).gigaSpace();

We will work to update the example code.

answered 2018-04-24 10:45:54 -0600

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

Stats

Asked: 2018-04-19 05:21:59 -0600

Seen: 170 times

Last updated: Apr 24