This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit e76db82f7d601b0a481a6789a56fdbea1b5d9400 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Jun 24 14:40:38 2021 +0200 CAMEL-15939: camel-website - Remove old FAQs --- docs/user-manual/modules/faq/nav.adoc | 2 - .../how-do-i-run-activemq-and-camel-in-jboss.adoc | 21 ------ ...-extra-camel-componets-in-servicemix-camel.adoc | 74 ---------------------- ...f-i-use-servicemix-when-should-i-use-camel.adoc | 15 ----- docs/user-manual/modules/faq/pages/index.adoc | 5 -- 5 files changed, 117 deletions(-) diff --git a/docs/user-manual/modules/faq/nav.adoc b/docs/user-manual/modules/faq/nav.adoc index e48f8bb..dbe2a41 100644 --- a/docs/user-manual/modules/faq/nav.adoc +++ b/docs/user-manual/modules/faq/nav.adoc @@ -7,7 +7,6 @@ ** xref:how-do-i-become-a-committer.adoc[How do I become a committer?] ** xref:how-do-i-compile-the-code.adoc[How do I compile the code?] ** xref:how-do-i-edit-the-website.adoc[How do I edit the website?] -** xref:if-i-use-servicemix-when-should-i-use-camel.adoc[If I use ServiceMix when should I use Camel?] ** xref:is-camel-an-esb.adoc[Is Camel an ESB?] ** xref:is-camel-ioc-friendly.adoc[Is Camel IoC friendly?] ** xref:running-camel-standalone.adoc[Running Camel standalone] @@ -45,7 +44,6 @@ ** xref:how-do-i-retry-failed-messages-forever.adoc[How do I retry failed messages forever?] ** xref:how-do-i-retry-processing-a-message-from-a-certain-point-back-or-an-entire-route.adoc[How do I retry processing a message from a certain point back or an entire route?] ** xref:how-do-i-reuse-the-contexttestsupport-class-in-my-unit-tests.adoc[How do I reuse the ContextTestSupport class in my unit tests?] -** xref:how-do-i-run-activemq-and-camel-in-jboss.adoc[How do I run ActiveMQ and Camel in JBoss?] ** xref:how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.adoc[How do I set the max chars when debug logging messages in Camel?] ** xref:how-do-i-use-a-big-uber-jar.adoc[How do I use a big (uber) JAR?] ** xref:how-do-i-use-spring-property-placeholder-with-camel-xml.adoc[How do I use Spring Property Placeholder with Camel XML?] diff --git a/docs/user-manual/modules/faq/pages/how-do-i-run-activemq-and-camel-in-jboss.adoc b/docs/user-manual/modules/faq/pages/how-do-i-run-activemq-and-camel-in-jboss.adoc deleted file mode 100644 index 1629992..0000000 --- a/docs/user-manual/modules/faq/pages/how-do-i-run-activemq-and-camel-in-jboss.adoc +++ /dev/null @@ -1,21 +0,0 @@ -[[HowdoIrunActiveMQandCamelinJBoss-HowdoIrunActiveMQandCamelinJBoss]] -= How do I run ActiveMQ and Camel in JBoss? - -A user had a problem with running ActiveMQ embedded inside JBoss. He -reported his findings on the Camel mailing list which you can read about -http://www.nabble.com/JBoss-%2B-ActiveMQ-%2B-Camel-%2B-Newbie-td24056976.html[his -solution here]. - -[[HowdoIrunActiveMQandCamelinJBoss-UsingCamelinJBoss]] -== Using Camel in JBoss - -*Since Camel 2.1* - -We have now created a https://github.com/camel-extra/camel-extra/blob/master/components/camel-jboss/src/main/docs/jboss-component.adoc[camel-jboss] component which -allows you to run Camel inside JBoss. Unfortunately JBoss uses LGPL -license which is Apache unfriendly so the project is hosted at -https://camel-extra.github.io/[Camel Extra]. - -Basically what you need is to use a specialized classloader due to JBoss -classloading challenges. This classloder is provided in the -https://github.com/camel-extra/camel-extra/blob/master/components/camel-jboss/src/main/docs/jboss-component.adoc[camel-jboss] component. diff --git a/docs/user-manual/modules/faq/pages/how-to-use-extra-camel-componets-in-servicemix-camel.adoc b/docs/user-manual/modules/faq/pages/how-to-use-extra-camel-componets-in-servicemix-camel.adoc deleted file mode 100644 index c5e49bf..0000000 --- a/docs/user-manual/modules/faq/pages/how-to-use-extra-camel-componets-in-servicemix-camel.adoc +++ /dev/null @@ -1,74 +0,0 @@ -= How to use extra camel componets in servicemix-camel - -[[ConfluenceContent]] -Since Servicemix3's component has same hierarchies of the class loaders -with the J2EE application server, and the components the class loader is -separated with the SU's. And Camel has lots of components, we just -include the camel-core and camel-spring components in the -servicemix-camel by default. When the user want to use other camel -component, they always add the camel-xxx component into their SU lib. + -In this way if there is a class which is loaded from the different SU -classloader and registed into the camel-core's registry by -servicemix-camel component , we will faced on the typical class cast -exception in Servicemix3. Basically this exception is caused by the same -class is loaded by different class loader. - -You may meet an issue of the class cast exception when deploying the -same servicemix-camel component SU twice. - -In this case, when the SU is redeployed, it will create a new deployer -which will create an application context with the class loader of -servicemix-camel component, and then using the SU's class loader to -create a camel context. + -Since the SU is redeployed, Servicemix will create a new class loader to -load the SU's lib jars and resources. + -When the SU initial the rmi component, boom , we meet the situation of -same component loaded with different class loader, The class cast -exception is thrown out. - -Note, In Servicemix4's camel component , we will not get that kind of -issue , since the OSGi will help us to manage the relationship of the -jars. - -The solution is putting the camel-xxx components and third part jars -into servicemix-camel component's lib. You need to check out the -servicemix-camel component's pom.xml and recompile the servicemix-camel -component by adding the camel-xxx component dependency. - -Let me take the latest servicemix-camel as an example - -\1. Checking out the servicemix-camel component's pom - -[source,syntaxhighlighter-pre] ----- -svn co http://svn.apache.org/repos/asf/servicemix/components/engines/servicemix-camel/trunk/pom.xml ----- - -\2. If you need camel-rmi component , you just put the dependency into -the pom.xml - -[source,syntaxhighlighter-pre] ----- -<dependency> - <groupid>org.apache.camel</groupid> - <artifactid>camel-rmi</artifactid> - <version>${camel-version}</version> -</dependency> ----- - -\3. Running "mvn install" and copy the servicemix-camel-*.zip into the -deploy directory - -\4. Write your servicemix-camel SU, make sure you don't include any -camel relates jars into the SU's lib, you can use the -<scope>provided</scope> to not packing the artifact. - -[source,syntaxhighlighter-pre] ----- -<dependency> - <groupid>org.apache.camel</groupid> - <artifactid>camel-rmi</artifactid> - <version>${camel-version}</version> - <scope>provided</scope> -</dependency> ----- diff --git a/docs/user-manual/modules/faq/pages/if-i-use-servicemix-when-should-i-use-camel.adoc b/docs/user-manual/modules/faq/pages/if-i-use-servicemix-when-should-i-use-camel.adoc deleted file mode 100644 index 676d833..0000000 --- a/docs/user-manual/modules/faq/pages/if-i-use-servicemix-when-should-i-use-camel.adoc +++ /dev/null @@ -1,15 +0,0 @@ -[[IfIuseServiceMixwhenshouldIuseCamel-IfIuseServiceMixwhenshouldIuseCamel]] -= If I use ServiceMix when should I use Camel? - -Camel is a routing and mediation engine which works great inside JBI. - -So if you are already using http://servicemix.apache.org/[ServiceMix] -then you can use Camel implement the -xref:{eip-vc}:eips:enterprise-integration-patterns.adoc[Enterprise Integration Patterns] -inside JBI such as -xref:{eip-vc}:eips:content-based-router-eip.adoc[Content Based Router], routing messages -between your existing JBI endpoints. - -You can also reuse any of the Camel xref:ROOT:component.adoc[Components] -within JBI or expose Camel endpoints as JBI endpoints. - diff --git a/docs/user-manual/modules/faq/pages/index.adoc b/docs/user-manual/modules/faq/pages/index.adoc index 1d18670..8a4ed95 100644 --- a/docs/user-manual/modules/faq/pages/index.adoc +++ b/docs/user-manual/modules/faq/pages/index.adoc @@ -23,9 +23,6 @@ General questions about Camel * xref:how-do-i-become-a-committer.adoc[How do I become a committer?] * xref:how-do-i-compile-the-code.adoc[How do I compile the code?] * xref:how-do-i-edit-the-website.adoc[How do I edit the website?] -using Java WebStart?] -* xref:if-i-use-servicemix-when-should-i-use-camel.adoc[If I use -ServiceMix when should I use Camel?] * xref:is-camel-an-esb.adoc[Is Camel an ESB?] * xref:is-camel-ioc-friendly.adoc[Is Camel IoC friendly?] * xref:running-camel-standalone.adoc[Running Camel standalone] @@ -69,7 +66,6 @@ Questions on using Apache Camel * xref:how-do-i-retry-failed-messages-forever.adoc[How do I retry failed messages forever?] * xref:how-do-i-retry-processing-a-message-from-a-certain-point-back-or-an-entire-route.adoc[How do I retry processing a message from a certain point back or an entire route?] * xref:how-do-i-reuse-the-contexttestsupport-class-in-my-unit-tests.adoc[How do I reuse the ContextTestSupport class in my unit tests?] -* xref:how-do-i-run-activemq-and-camel-in-jboss.adoc[How do I run ActiveMQ and Camel in JBoss?] * xref:how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.adoc[How do I set the max chars when debug logging messages in Camel?] * xref:how-do-i-use-a-big-uber-jar.adoc[How do I use a big (uber) JAR?] * xref:how-do-i-use-spring-property-placeholder-with-camel-xml.adoc[How do I use Spring Property Placeholder with Camel XML?] @@ -85,7 +81,6 @@ Questions on using Apache Camel * xref:how-to-send-the-same-message-to-multiple-endpoints.adoc[How to send the same message to multiple endpoints?] * xref:how-to-switch-the-cxf-consumer-between-http-and-https-without-touching-the-spring-configuration.adoc[How to switch the CXF consumer between HTTP and HTTPS without touching the Spring configuration?] * xref:how-to-use-a-dynamic-uri-in-to.adoc[How to use a dynamic URI in to()?] -* xref:how-to-use-extra-camel-componets-in-servicemix-camel.adoc[How to use extra Camel componets in servicemix-camel?] * xref:is-there-an-ide.adoc[Is there an IDE?] * xref:should-i-deploy-camel-inside-the-activemq-broker-or-in-another-application.adoc[Should I deploy Camel inside the ActiveMQ broker or in another application?] * xref:using-camel-core-testsjar.adoc[Using camel-core-tests.jar]
