git.net

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

R: Camel 2.21.1 HttpComponent


Can you please show the code you're using?

Inviato da Yahoo Mail su Android 
 
  Il lun, 18 giu, 2018 alle 23:25, Binole, William J<William.J.Binole@xxxxxxxxxxxxxxxxxxxx> ha scritto:   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.  


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03419.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0006364568{main}( ).../msg03419.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03419.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0006364568{main}( ).../msg03419.html:0