Hi,

Using the servicemix 1.0.1 binary, I'm testing out subscribing to the output
of a component as described here:

http://servicemix.org/Publish+and+Subscribe+Routing

I have the following components in my servicemix.xml file:

                <components>
                        <component id="sender" service="foo:sender"
                                
class="com.pacemetrics.servicemix.components.pojo.TestSender"
                                destinationService="foo:receiver" />

                        <component id="receiver" service="foo:receiver"
                                
class="com.pacemetrics.servicemix.components.pojo.TestReceiver" />

                        <component id="receiverex" service="foo:subscriber"
                                
class="com.pacemetrics.servicemix.components.pojo.TestReceiverEx">

                                <!--  lets subscribe to the output of a 
component -->
                                <subscription service="foo:sender" />
                        </component>
                </components>

I send 10 messages from TestSender and TestReceiver gets them fine. The
receiverex component doesn't seem to get any messages - the TestReceiverEx
class is just a copy of TestReceiver with a different log message etc.

I notice the example is shown using a <subscription/> tag, but the
description of it talks about a <subscribe/> tag. I've tried both, no joy.

Any help much appreciated

thanks
David Black

Reply via email to