[ 
https://issues.apache.org/jira/browse/CAMEL-12833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626935#comment-16626935
 ] 

ASF GitHub Bot commented on CAMEL-12833:
----------------------------------------

GitHub user jamesnetherton opened a pull request:

    https://github.com/apache/camel/pull/2532

    CAMEL-12833: Provide a method of customizing Camel CDI context creation

    @astefanutti please can you take a peek at this?
    
    https://issues.apache.org/jira/browse/CAMEL-12833
    
    I tested with a bunch of different CDI implementations and it worked fine. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jamesnetherton/camel CAMEL-12833

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2532.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2532
    
----
commit 4c7b47b1c4cece0d22345dad5177ccefac064ca6
Author: James Netherton <jamesnetherton@...>
Date:   2018-09-25T07:37:32Z

    CAMEL-12833: Provide a method of customizing Camel CDI context creation

----


> Provide a method of customizing Camel CDI context creation
> ----------------------------------------------------------
>
>                 Key: CAMEL-12833
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12833
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cdi
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Major
>
> For some platforms it'd be useful if Camel CDI had some way of customizing 
> the way in which a {{CamelContext}} was created. E.g for controlling which 
> ClassLoader is used during instantiation.
> I propose to introduce a {{ContextCreateStrategy}} which users can provide 
> custom instances of in their deployments. The default implementation will do 
> {{CamelContext}} creation as per normal.
> Some more background for the motivation here:
> https://github.com/wildfly-extras/wildfly-camel/issues/2497



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to