Is is possible to have multiple target end points for jms consumer like this 
one? OR I need to go for eip?
  <sm:activationSpec componentName="MySecondConsumer" 
service="sub2:MySecondConsumer">
    <sm:component>
     <jms:component>
      <jms:endpoints>
       <jms:endpoint service="sub2:MySecondConsumer"
        endpoint="MySecondConsumer"
        targetService="test2:myservice,test5:bean2service"
        targetEndpoint="endpoint,endpointbean2"
        role="consumer"
        destinationStyle="topic"
        jmsProviderDestinationName="demo.org.servicemix.result"
        defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
        connectionFactory="#connectionFactory" />
      </jms:endpoints>
     </jms:component>
    </sm:component>
   </sm:activationSpec>

       
---------------------------------
Got a little couch potato? 
Check out fun summer activities for kids.

Reply via email to