Package org.springframework.data.gemfire.wan

Examples of org.springframework.data.gemfire.wan.GatewaySenderFactoryBean


    assertTrue(asyncEventQueue.isPersistent());
  }

  @Test
  public void testGatewaySender() throws Exception {
    GatewaySenderFactoryBean gatewaySenderFactoryBean = ctx.getBean("&gateway-sender", GatewaySenderFactoryBean.class);

    assertNotNull(gatewaySenderFactoryBean);
    assertNotNull(TestUtils.readField("cache", gatewaySenderFactoryBean));
    assertEquals(2, TestUtils.readField("remoteDistributedSystemId", gatewaySenderFactoryBean));
    assertEquals(10, TestUtils.readField("alertThreshold", gatewaySenderFactoryBean));
View Full Code Here


    assertTrue(transportFilters.get(0) instanceof TestTransportFilter);
  }

  @Test
  public void testGatewaySenderWithEventTransportFilterRefs() throws Exception {
    GatewaySenderFactoryBean gatewaySenderFactoryBean = ctx.getBean("&gateway-sender-with-event-transport-filter-refs",
      GatewaySenderFactoryBean.class);

    assertNotNull(gatewaySenderFactoryBean);
    assertNotNull(TestUtils.readField("cache", gatewaySenderFactoryBean));
    assertEquals(3, TestUtils.readField("remoteDistributedSystemId", gatewaySenderFactoryBean));
View Full Code Here

TOP

Related Classes of org.springframework.data.gemfire.wan.GatewaySenderFactoryBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.