+1

A couple of minor issues I found while doing M4 tests on my support
projects:

1. Usually, I run the command "mvn clean camel:run" to test Spring use
cases, with the context definition in "META-INF/spring/camel.xml".
This is working fine on 2.x, but I have the following Exception on 3.x (
note that it works without "clean" or doing "mvn clean compile camel:run" ).

*java.lang.reflect.InvocationTargetException*

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.apache.camel.maven.RunMojo$1.run (*RunMojo.java:456*)

    *at* java.lang.Thread.run (*Thread.java:748*)

*Caused by*:
org.springframework.beans.factory.BeanDefinitionStoreException: *Could not
resolve bean definition resource pattern [META-INF/spring/*.xml]; nested
exception is java.io.FileNotFoundException: class path resource
[META-INF/spring/] cannot be resolved to URL because it does not exist*

    *at*
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
(*AbstractBeanDefinitionReader.java:234*)

    *at*
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
(*AbstractBeanDefinitionReader.java:195*)

    *at*
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
(*AbstractBeanDefinitionReader.java:257*)

    *at*
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions
(*AbstractXmlApplicationContext.java:128*)

    *at*
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions
(*AbstractXmlApplicationContext.java:94*)

    *at*
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory
(*AbstractRefreshableApplicationContext.java:133*)

    *at*
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory
(*AbstractApplicationContext.java:636*)

    *at*
org.springframework.context.support.AbstractApplicationContext.refresh (
*AbstractApplicationContext.java:521*)

    *at*
org.springframework.context.support.ClassPathXmlApplicationContext.<init> (
*ClassPathXmlApplicationContext.java:144*)

    *at*
org.springframework.context.support.ClassPathXmlApplicationContext.<init> (
*ClassPathXmlApplicationContext.java:95*)

    *at* org.apache.camel.spring.Main.createDefaultApplicationContext (
*Main.java:247*)

    *at* org.apache.camel.spring.Main.doStart (*Main.java:163*)

    *at* org.apache.camel.support.service.ServiceSupport.start (
*ServiceSupport.java:97*)

    *at* org.apache.camel.main.MainSupport.run (*MainSupport.java:196*)

    *at* org.apache.camel.main.MainSupport.run (*MainSupport.java:593*)

    *at* org.apache.camel.spring.Main.main (*Main.java:84*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke0 (*Native Method*)

    *at* sun.reflect.NativeMethodAccessorImpl.invoke (
*NativeMethodAccessorImpl.java:62*)

    *at* sun.reflect.DelegatingMethodAccessorImpl.invoke (
*DelegatingMethodAccessorImpl.java:43*)

    *at* java.lang.reflect.Method.invoke (*Method.java:498*)

    *at* org.apache.camel.maven.RunMojo$1.run (*RunMojo.java:456*)

    *at* java.lang.Thread.run (*Thread.java:748*)


2. Using camel-test without overriding "createJndiContext" gives the
following warning:


2019-07-08 16:09:37,953 [ main] WARN l.test.junit4.CamelTestSupport - The
method createJndiContext() in camel-test is deprecated. You can bind beans
directly from Camel Registry instead


On Mon, Jul 8, 2019 at 2:34 PM Zoran Regvart <zo...@regvart.com> wrote:

> +1 (binding)
>
> Thanks Gregor!
>
> zoran
>
> On Sun, Jul 7, 2019 at 11:17 AM Gregor Zurowski
> <gre...@list.zurowski.org> wrote:
> >
> > Hi Everyone:
> >
> > This is a vote to release Apache Camel 3.0.0-M4 (Milestone 4), the
> > fourth milestone towards a new 3.0.0 major release with another 105
> > improvements and fixes.
> >
> > Release notes:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12345567&projectId=12311211
> >
> > Staging repository:
> > https://repository.apache.org/content/repositories/orgapachecamel-1143/
> >
> > Tarballs:
> https://repository.apache.org/content/repositories/orgapachecamel-1143/org/apache/camel/apache-camel/3.0.0-M4/
> >
> > Tag:
> https://gitbox.apache.org/repos/asf?p=camel.git;a=tag;h=refs/tags/camel-3.0.0-M4
> >
> > Please test this release candidate and cast your vote.
> > [ ] +1 Release the binary as Apache Camel 3.0.0-M4
> > [ ] -1 Veto the release (provide specific comments)
> >
> > The vote is open for at least 72 hours.
> >
> > Thanks,
> > Gregor
>
>
>
> --
> Zoran Regvart
>

Reply via email to