You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "Croway (via GitHub)" <gi...@apache.org> on 2025/09/16 15:47:17 UTC

[PR] ContextServicePlugin SPI - provides a plugin system for Apache Camel … [camel]

Croway opened a new pull request, #19213:
URL: https://github.com/apache/camel/pull/19213

   …that allows automatic discovery and initialization of third-party components during CamelContext startup.
   
   The ContextServicePlugin provides an entry point into the Camel Context for third party plugins. This way, 3d party dependencies can be created to offer independent, additional features to a Camel application.
   
   For example, a set of custom beans can be easily provided by
   ```
   public class MyContextServicePlugin implements ContextServicePlugin {
       @Override
       public void load(CamelContext camelContext) {
           camelContext.getRegistry().bind("myBean", new TestBean());
           camelContext.getRegistry().bind("mySecondBean", new AnotherTestBean());
           ...
       }
   }
   ```
    
    and the service `META-INF/services/org.apache.camel.spi.ContextServicePlugin` with content `com.foo.acme.TestPlugin`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-22423: ContextServicePlugin SPI - provides a plugin system for Apache Camel … [camel]

Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway merged PR #19213:
URL: https://github.com/apache/camel/pull/19213


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ContextServicePlugin SPI - provides a plugin system for Apache Camel … [camel]

Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway commented on PR #19213:
URL: https://github.com/apache/camel/pull/19213#issuecomment-3301731059

   https://issues.apache.org/jira/browse/CAMEL-22423


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ContextServicePlugin SPI - provides a plugin system for Apache Camel … [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #19213:
URL: https://github.com/apache/camel/pull/19213#issuecomment-3299369834

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions to run
   
   * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org