This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 0153bfa  CAMEL-15005: add migration instructions
0153bfa is described below

commit 0153bfa2cb40a5556279e91151d5f6500e5d9128
Author: lburgazzoli <lburgazz...@gmail.com>
AuthorDate: Thu May 21 17:45:55 2020 +0200

    CAMEL-15005: add migration instructions
---
 .../ROOT/pages/camel-3x-upgrade-guide-3_3.adoc     | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_3.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_3.adoc
index 48d2385..b3767b2 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_3.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_3.adoc
@@ -64,3 +64,40 @@ The dump model classes in package 
`org.apache.camel.support.dump` has been remov
 as they were not in use by Camel.
 
 In relation to the dump model classes removal, in camel-karaf the following 
commands were removed: `context-info`, `route-info`, `route-profile` and 
`route-step`.
+
+=== camel-main
+
+The following methods have been 
https://issues.apache.org/jira/browse/CAMEL-15005[relocated] from 
`org.apache.camel.main.BaseMainSupport` to 
`org.apache.camel.main.MainConfigurationProperties`:
+
+- getConfigurationClasses
+- setConfigurationClasses
+- addConfigurationClass
+- addConfiguration
+- getConfigurations
+- setConfigurations
+- getRouteBuilderClasses
+- setRouteBuilderClasses
+- getRouteBuilders
+- getRoutesBuilders
+- setRoutesBuilders
+- addRoutesBuilder
+
+This means that as example, the following snippet:
+
+[source,java]
+----
+Main main = new Main();
+main.addRoutesBuilder(....)
+----
+
+Should become
+
+[source,java]
+----
+Main main = new Main();
+main.configure().addRoutesBuilder(....)
+----
+
+See https://issues.apache.org/jira/browse/CAMEL-15005
+
+

Reply via email to