incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Banawalikar, Omkar IN BLR SISL" <omkar.banawalikar....@siemens.com>
Subject Sending Events outside s4
Date Wed, 04 Apr 2012 13:37:56 GMT
Hi,
My PE is sending all(two) streams from the S4 cluster to the Client Adapters. I have two Client
Adapters processes listening to two different ports. But only the AcknowledgeStream stream
is getting delivered and not the StringCounterStream. Is the below Xml file correct??? Is
the Multidispatcher  correctly for hashChecker bean correctly configured.

<bean id="hashChecker" class="pe.HashCodeMatcherPE">
                                <property name="dispatcher" ref="forkdispatcher2" />
                                <property name="keys">
                                                <list>
                                                                <value>KeyedStringEventStream
stringId</value>
                                                                <value>StringCounterStream
*</value>
                                                </list>
                                </property>
                </bean>

<!-- added this code -->
                <bean id="forkdispatcher2" class="io.s4.dispatcher.MultiDispatcher">
                                <property name="dispatchers">
                                                <list>
                                                                <bean id="selectiveDispatchToAdapter2"
class="io.s4.dispatcher.StreamSelectingDispatcher">
                                                                                <property
name="dispatcher" ref="dispatcherToClientAdapters" />
                                                                                <property
name="streams">
                                                                                         
      <list>
                                                                                         
                      <value>StringCounterStream</value>
                                                                                         
                      <value>AcknowledgeStream</value>
                                                                                         
      </list>
                                                                                </property>
                                                                </bean>
                                                </list>
                                </property>
                </bean>

Omkar Banawalikar


Mime
View raw message