Class AmbiguousMethodCallException

  • All Implemented Interfaces:
    Serializable

    public class AmbiguousMethodCallException
    extends org.apache.camel.RuntimeExchangeException
    An exception thrown if an attempted method invocation resulted in an ambiguous method such that multiple methods match the inbound message exchange
    See Also:
    Serialized Form
    • Constructor Detail

      • AmbiguousMethodCallException

        public AmbiguousMethodCallException​(org.apache.camel.Exchange exchange,
                                            Collection<MethodInfo> methods)
    • Method Detail

      • getMethods

        public Collection<MethodInfo> getMethods()
        The ambiguous methods for which a single method could not be chosen