Need Advice - Not Getting Polling and Notification Events

I am new to GigaSpacesXAP.

I coded PU A to write ORDER objects to the space and PU B to display those ORDER objects via notification events. PU A worked fine and ORDER objects were being written to the space (I saw the ORDER object count growing in the space browser. However, listener in PU B did not seem to be notified of those ORDER objects written to the space. I am sure that there was no notification as the first line in the listener is a system.out.println, but nothing was displayed in GSC console. I switched to use polling and hit the same situation, i.e. nothing was being polled.

// listener codes
@SpaceDataEvent
public Order coordinateOrder(Order order) {

    System.out.println("Notified with Order - " + order.toString()); 
            return order;

}

// pu.xml entries
<bean id="coordinator" class="org.test.process.Coordinator">
</bean>

<os-events:polling-container id="coordinatorPollingContainer" giga-space="gigaSpace">
    <os-events:tx-support tx-manager="transactionManager"/>
    <os-core:template>
        <bean class="org.test.common.Order">
            <property name="orderStatus" value="New"/>
        </bean>
    </os-core:template>
    <os-events:listener>
        <os-events:annotation-adapter>
            <os-events:delegate ref="coordinator"/>
        </os-events:annotation-adapter>
    </os-events:listener>
</os-events:polling-container>

Please help :)

Thanks and Regards

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2083]{quote}

asked 2007-09-15 10:30:01 -0600

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete