[ https://issues.apache.org/jira/browse/CAMEL-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993116#comment-12993116 ]
james strachan commented on CAMEL-3651: --------------------------------------- Here's some documentation around the current spike... https://cwiki.apache.org/confluence/display/CAMEL/Context as well as some test cases to show it in action * simple URIs: http://svn.apache.org/viewvc/camel/trunk/components/camel-context/src/test/java/org/apache/camel/component/context/JavaDslBlackBoxTest.java?revision=1069442&view=markup * verbose qualified URIs: http://svn.apache.org/viewvc/camel/trunk/components/camel-context/src/test/java/org/apache/camel/component/context/JavaDslBlackBoxWithVerboseUriTest.java?revision=1069442&view=markup > create a simple way to expose a CamelContext as a black box component that > can be easily reused in other CamelContext instances > ------------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-3651 > URL: https://issues.apache.org/jira/browse/CAMEL-3651 > Project: Camel > Issue Type: New Feature > Reporter: james strachan > Assignee: james strachan > Fix For: 2.7.0 > > > see these discussions for background > http://camel.465427.n5.nabble.com/implementing-Protocols-or-a-way-to-make-it-easier-to-black-box-routes-and-compose-them-with-other-ros-td3218777.html#a3218777 > http://camel.465427.n5.nabble.com/Abstracting-Routes-using-Components-td3234703.html > but basically I'm hoping for a simpler alternative than RouteBox... > http://camel.apache.org/routebox.html > for a way to take a set of Routes; wrap them up as a CamelContext, register > it into the Registry (Spring / JNDI / Guice / OSGi etc) and then refer to the > endpoints inside the black box in a simple way. > The idea is similar to: https://issues.apache.org/jira/browse/CAMEL-3563 - > though a different motivation. This issue is about composition; taking a > CamelContext making it a black box object in the Registry then having a > simple naming convention to refer to its endpoints. > To better describe this issue I'll post to the mailing list and document it > in the wiki and post links to this issue... -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira