Given the following config, the sender cannot find the
'foo:distributionList'  static-recipient-list 

Cannot find an instance of the service:
{http://servicemix.org/cheese/}distributionList


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:sm="http://servicemix.apache.org/config/1.0";
        xmlns:foo="http://servicemix.org/cheese/";
        xmlns:eip="http://servicemix.apache.org/eip/1.0";>
        <sm:container id="jbi" embedded="true">

                <sm:activationSpecs>

         
                        <sm:activationSpec componentName="sender"
                                destinationService="foo:distributionList" 
service="foo:sender">
                                <sm:component>
                                        <bean
                                                
class="com.bw.att.controller.esb.MySender" />
                                </sm:component>
                        </sm:activationSpec>


                        <sm:activationSpec componentName="eip1"  
id="servicemix-eip"  >
                                <sm:component >
                                        <eip:component >
                                                <eip:endpoints>
                                                        
<eip:static-recipient-list    service="foo:distributionList"
                                                                
endpoint="endpoint">
                                                                <eip:recipients>
                                                                        
<eip:exchange-target
                                                                                
service="foo:receiver" />
                                                                        
<eip:exchange-target
                                                                                
service="foo:receiver2" />
                                                                
</eip:recipients>
                                                        
</eip:static-recipient-list>
                                                </eip:endpoints>
                                        </eip:component>
                                </sm:component>
                        </sm:activationSpec>



                        <sm:activationSpec componentName="receiver"
                                service="foo:receiver">
                                <sm:component>
                                        <bean
                                                
class="com.bw.att.controller.esb.MyReceiver" />
                                </sm:component>

                        </sm:activationSpec>

                        <sm:activationSpec componentName="receiver2"
                                service="foo:receiver2">
                                <sm:component>
                                        <bean
                                                
class="com.bw.att.controller.esb.MyReceiver2" />
                                </sm:component>
                        </sm:activationSpec>


                </sm:activationSpecs>
        </sm:container>
</beans>
-- 
View this message in context: 
http://www.nabble.com/problem-sending-to-a-static-recipient-list-tf4508339s12049.html#a12857372
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to