git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Camel 2.21.1 HttpComponent


We recently upgraded our camel libs to the latest version (2.21.1) and have found that we can no longer instantiate HttpComponent. This is due to the constructor calling the registerExetnsion method which we have yet to find in the source.

    public HttpComponent(Class<? extends HttpEndpoint> endpointClass) {
        super(endpointClass);

        registerExtension(HttpComponentVerifierExtension::new);
    }
The above constructor fails with a no such method error on registerExtension. I dropped back to camel 2.19.5 and things work as that method is not being used. I would prefer to use the latest release 2.21.1 but we have not been able to find a way around the problem with registerExtension. Since there does not appear to be any documentation around this any information on how to now instantiate HttpComponent would be appreciated.

Bill

______________________________________________________________________
The contents of this message, together with any attachments, are intended only for the use of the person(s) to which they are addressed and may contain confidential and/or privileged information. Further, any medical information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential medical information. If you are not the intended recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or copying of this message, or any attachment, is prohibited.