I was wondering if someone could explain the relationship between the endpoints used in servicemix (ProviderEndpoint and ConsumerEndpoint) and the javax.jbi.servicedesc.ServiceEndpoint class. I notice that the ProviderEndpoint and ConsumerEndpoint don't extend it, but if you call context.getEndpoint() you get back a javax.jbi.servicedesc.ServiceEndpoint object which refers to a service that is using either ProviderEndpoint and ConsumerEndpoint. I ask because I would like to look up services by interfaceName, but if I set the interface in a ProviderEndpoint or ConsumerEndpoint, it doesn't show up in the getInterfaceNames of the ServiceEndpoint class... am I misunderstanding something, or shouldn't that set interface be reflected in getInterfaceNames()?
Thanks for any help. Ryan
