this.extension = extension;
}
@Override
public T produce(CreationalContext<T> ctx) {
T context = super.produce(ctx);
<BUG>if (annotated != null && context.getNameStrategy() instanceof DefaultCamelContextNameStrategy) {
context.setNameStrategy(nameStrategy(annotated));</BUG>
}
if (context instanceof DefaultCamelContext) {
DefaultCamelContext adapted = context.adapt(DefaultCamelContext.class);

this.extension = extension;
}
@Override
public T produce(CreationalContext<T> ctx) {
T context = super.produce(ctx);
if (context.getNameStrategy() instanceof DefaultCamelContextNameStrategy) {
context.setNameStrategy(nameStrategy(annotated));
}
if (context instanceof DefaultCamelContext) {
DefaultCamelContext adapted = context.adapt(DefaultCamelContext.class);
