You can't.
In this case, what would you do: send two InOut to the services ?
and what about the responses ?
Try using the EIP component instead.

On Aug 29, 2007, at 8:59 AM, kumar k wrote:

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.

--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to