The JBI specification specifies that ServiceEndpoint should always have at least one interface.
In practice, it can be difficult to make it realistically happen because:
- when activating an endpoint, no interface is provided.
- interfaces are extracted from the service descriptor (the WSDL) but sometimes there could be no WSDL available.
Normally, anyway, one given service always implement the same interface, so if a Consumer sends an exchange for a given service and a given interface, then if the endpoint has no interface, it is acceptable to assumes it actually implements the desired one.