You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/04/02 10:48:53 UTC
[jira] [Commented] (CAMEL-8582) No way to specify a custom
ModelJAXBContextFactory when using Spring DSL/XML Namespace
[ https://issues.apache.org/jira/browse/CAMEL-8582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392395#comment-14392395 ]
Claus Ibsen commented on CAMEL-8582:
------------------------------------
Can you remove the
+ private String modelJAXBContextFactoryRef;
+ @XmlAttribute(required = false)
We dont want the <camelContext> to have these kind of refs for spi and uncommon used functionality. The spi for this should be the bean lookup style only.
> No way to specify a custom ModelJAXBContextFactory when using Spring DSL/XML Namespace
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-8582
> URL: https://issues.apache.org/jira/browse/CAMEL-8582
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring
> Affects Versions: 2.15.0
> Reporter: Aaron Whiteside
> Priority: Minor
> Fix For: 2.16.0
>
> Attachments: CAMEL-8582.patch
>
>
> No way to specify a custom ModelJAXBContextFactory when using Spring DSL/Xml Namespace.
> The ModelJAXBContextFactory reference should be specifiable on the CamelContext Spring XML Namespace.
> And it should be searched via the spring bean registry.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)