PDA

View Full Version : Implement Write-Behind Cache Event Handling



tsegreti
Feb 28th, 2012, 11:10 PM
The Gemfire documentation gives an example at this link (http://pubs.vmware.com/vfabric5/topic/com.vmware.vfabric.gemfire.6.6/developing/events/implementing_write_behind_event_handler.html) of installing a write-behind cache event handler like the following:


<gateway-hub id="DBWriterHub"
<gateway id="DBWriter">
<gateway-listener>
<class-name>com.myApp.myWBCLListener</class-name>
</gateway-listener>
</gateway>
</gateway-hub>


Looking through the Spring Gemfire Integration Reference Guide I did not see a way to define the gateway-hub and gateway-listener (as defined above) inside the <gfe:cache /> bean definition. How would this be accomplished?

Thanks!