Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
-
Patch Available
Description
Today TypeConverter detection is based on org.apache.camel.@Converter annotation.
Allow user to override this by using meta-annotation. This can be useful to hide camel dependencies, when extending the framework.
ie, this can be done:
package some.package.of.mine;
@Retention(RetentionPolicy.RUNTIME)
@Target(
)
@org.apache.camel.Converter
public @interface OwnConverterAnnotation {
}
import some.package.of.mine.OwnConverterAnnotation;
@OwnConverterAnnotation
public class FileToXXXConverter {
@OwnConverterAnnotation
public static XXX toWorkflowEntry(File file) throws IOException
}