Petals SE Camel

Trim java-routes in jbi.xml

Details

  • Type: Improvement Request Improvement Request
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 1.2.1
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    the following configuration are "xml" valid

    <camel:java-routes>
    com.test.Route
    </camel:java-routes>

    but the su deployement failed
    at java.lang.Thread.run(Thread.java:748)
    Caused by: java.lang.ClassNotFoundException: com.test.Route

    at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

    to avoid this problem you must "trim" the configuration parameter java-routes

    Show
    the following configuration are "xml" valid <camel:java-routes> com.test.Route </camel:java-routes> but the su deployement failed at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: com.test.Route at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) to avoid this problem you must "trim" the configuration parameter java-routes
  • Environment:
    petals 5.2.0

People

Dates

  • Created:
    Tue, 6 Oct 2020 - 10:07:49 +0200
    Updated:
    Tue, 6 Oct 2020 - 11:58:31 +0200