Only one, and you can not control which one in a standard JBI way. However, ServiceMix has a notion of Endpoint resolver and policy, but these are currently configured at the container level.
On 10/18/07, Gordon Dickens <[EMAIL PROTECTED]> wrote: > Hello, > > If I have a 2 services defined with the same servicename and different > endpoints and I attempt to pass a message to that servicename without > specifying the endpoint what would be the expected result? > > Provider > serviceName="myService" endpoint="ep1" > ... > serviceName="myService" endpoint="ep2" > ... > > Consumer > targetServiceName="myService" > > Will both endpoints get the message? Will only one? Which one? > > Thanks, > Gordon Dickens > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/