camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <>
Subject Sub-classing org.apache.camel.spring.javaconfig.Main - bug?
Date Mon, 04 Apr 2016 10:22:17 GMT
Tried writing an extending
org.apache.camel.spring.javaconfig.Main and overriding the public void
setBasedPackages(String config) method.

My sub-class method does not get called yet the base class version does get
called. On inspection, there's a static call
to org.apache.camel.spring.javaconfig.Main. Is this intentional?

If it is, shouldn't the method be marked final to prevent developer wrongly
extending it?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message