You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Hadrian Zbarcea <hz...@gmail.com> on 2008/01/16 15:47:52 UTC
Please help check Camel 1.3.0 RC1
Hi,
The first release candidate of camel 1.3.0 is finally out. You can
get the binary distributions here:
http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
maven 2 repo: http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
Please check out this build and let me know if you see anything out of
place.
--
Thanks,
Hadrian
Re: Please help check Camel 1.3.0 RC1
Posted by Aaron Crickenberger <aa...@intalgent.com>.
You're right, this seems just like the issue with the META-
INF/...TypeConverter files (http://issues.apache.org/activemq/browse/CAMEL-268
). The uber-jar I just built out of trunk seems to work OK, FWIW.
- aaron
On Jan 16, 2008, at 10:49 AM, James Strachan wrote:
> it looks like the META-INF/spring.schemas from the camel-cxf component
> overwrites the one from camel-spring.
>
>
> On 16/01/2008, James Strachan <ja...@gmail.com> wrote:
>> Were you using the big "apache-camel-1.3.0.jar" on the classpath I
>> wonder? Am thinking there could be times when the uber-jar is created
>> by replacing, rather than concatenating the various files in
>> META-INF/services/*
>>
>> On 16/01/2008, Aaron Crickenberger
>> <aa...@intalgent.com> wrote:
>>> Unit tests using Spring-based routes stopped working for me
>>> (previously OK using 1.3-SNAPSHOT as of r605209). I'm using camel-
>>> core-1.3-SNAPSHOT-tests.jar and camel-spring-1.3-SNAPSHOT-tests.jar
>>> out of trunk, in addition to apache-camel-1.3.0.jar. I keep seeing
>>> the following:
>>>
>>> org
>>> springframework
>>> .beans.factory.parsing.BeanDefinitionParsingException:
>>> Configuration problem: Unable to locate NamespaceHandler for
>>> namespace
>>> [http://activemq.apache.org/camel/schema/spring]
>>> Offending resource: class path resource [SimpleSpringTest.xml]
>>>
>>> --- SimpleSpringTest.xml ---
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <beans xmlns="http://www.springframework.org/schema/beans"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
>>> "
>>> xmlns:util="http://www.springframework.org/schema/util"
>>> xsi:schemaLocation="http://www.springframework.org/schema/beans
>>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>> http://www.springframework.org/schema/util
>>> http://www.springframework.org/schema/util/spring-util-2.0.xsd
>>> http://activemq.apache.org/camel/schema/spring
>>> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
>>> ">
>>>
>>> <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring
>>> ">
>>> <route>
>>> <from uri="direct:start" />
>>> <to uri="mock:results" />
>>> </route>
>>> </camelContext>
>>>
>>> </beans>
>>>
>>> --- SimpleSpringTest.java ---
>>> public class SimpleSpringTest extends SpringTestSupport
>>> {
>>> public void testSimpleSend() throws Exception
>>> {
>>> MockEndpoint mock = resolveMandatoryEndpoint("mock:results",
>>> MockEndpoint.class);
>>> mock.setDefaulResultWaitMillis(1000);
>>> mock.expectedBodiesReceived("foo");
>>>
>>> template.sendBody("direct:start", "foo");
>>> mock.assertIsSatisfied();
>>> }
>>>
>>> @Override
>>> protected ClassPathXmlApplicationContext
>>> createApplicationContext()
>>> {
>>> return new ClassPathXmlApplicationContext(new String[]
>>> { "SimpleSpringTest.xml" });
>>> }
>>> }
>>>
>>> Am I missing something obvious?
>>>
>>> - aaron
>>>
>>> On Jan 16, 2008, at 9:47 AM, Hadrian Zbarcea wrote:
>>>
>>>> Hi,
>>>>
>>>> The first release candidate of camel 1.3.0 is finally out. You can
>>>> get the binary distributions here:
>>>> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
>>>>
>>>> maven 2 repo: http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
>>>>
>>>> Please check out this build and let me know if you see anything out
>>>> of place.
>>>>
>>>> --
>>>> Thanks,
>>>> Hadrian
>>>
>>>
>>
>>
>> --
>> James
>> -------
>> http://macstrac.blogspot.com/
>>
>> Open Source Integration
>> http://open.iona.com
>>
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
Re: Please help check Camel 1.3.0 RC1
Posted by James Strachan <ja...@gmail.com>.
it looks like the META-INF/spring.schemas from the camel-cxf component
overwrites the one from camel-spring.
On 16/01/2008, James Strachan <ja...@gmail.com> wrote:
> Were you using the big "apache-camel-1.3.0.jar" on the classpath I
> wonder? Am thinking there could be times when the uber-jar is created
> by replacing, rather than concatenating the various files in
> META-INF/services/*
>
> On 16/01/2008, Aaron Crickenberger <aa...@intalgent.com> wrote:
> > Unit tests using Spring-based routes stopped working for me
> > (previously OK using 1.3-SNAPSHOT as of r605209). I'm using camel-
> > core-1.3-SNAPSHOT-tests.jar and camel-spring-1.3-SNAPSHOT-tests.jar
> > out of trunk, in addition to apache-camel-1.3.0.jar. I keep seeing
> > the following:
> >
> > org
> > springframework.beans.factory.parsing.BeanDefinitionParsingException:
> > Configuration problem: Unable to locate NamespaceHandler for namespace
> > [http://activemq.apache.org/camel/schema/spring]
> > Offending resource: class path resource [SimpleSpringTest.xml]
> >
> > --- SimpleSpringTest.xml ---
> > <?xml version="1.0" encoding="UTF-8"?>
> > <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> > "
> > xmlns:util="http://www.springframework.org/schema/util"
> > xsi:schemaLocation="http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> > http://www.springframework.org/schema/util
> > http://www.springframework.org/schema/util/spring-util-2.0.xsd
> > http://activemq.apache.org/camel/schema/spring
> > http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
> > ">
> >
> > <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring
> > ">
> > <route>
> > <from uri="direct:start" />
> > <to uri="mock:results" />
> > </route>
> > </camelContext>
> >
> > </beans>
> >
> > --- SimpleSpringTest.java ---
> > public class SimpleSpringTest extends SpringTestSupport
> > {
> > public void testSimpleSend() throws Exception
> > {
> > MockEndpoint mock = resolveMandatoryEndpoint("mock:results",
> > MockEndpoint.class);
> > mock.setDefaulResultWaitMillis(1000);
> > mock.expectedBodiesReceived("foo");
> >
> > template.sendBody("direct:start", "foo");
> > mock.assertIsSatisfied();
> > }
> >
> > @Override
> > protected ClassPathXmlApplicationContext createApplicationContext()
> > {
> > return new ClassPathXmlApplicationContext(new String[]
> > { "SimpleSpringTest.xml" });
> > }
> > }
> >
> > Am I missing something obvious?
> >
> > - aaron
> >
> > On Jan 16, 2008, at 9:47 AM, Hadrian Zbarcea wrote:
> >
> > > Hi,
> > >
> > > The first release candidate of camel 1.3.0 is finally out. You can
> > > get the binary distributions here:
> > > http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
> > >
> > > maven 2 repo: http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
> > >
> > > Please check out this build and let me know if you see anything out
> > > of place.
> > >
> > > --
> > > Thanks,
> > > Hadrian
> >
> >
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
Re: Please help check Camel 1.3.0 RC1
Posted by Guillaume Nodet <gn...@gmail.com>.
We should use the shade plugin for such things.
It allows merging of files while creating an uber jar.
On Jan 16, 2008 4:47 PM, James Strachan <ja...@gmail.com> wrote:
> Were you using the big "apache-camel-1.3.0.jar" on the classpath I
> wonder? Am thinking there could be times when the uber-jar is created
> by replacing, rather than concatenating the various files in
> META-INF/services/*
>
> On 16/01/2008, Aaron Crickenberger <aa...@intalgent.com>
> wrote:
> > Unit tests using Spring-based routes stopped working for me
> > (previously OK using 1.3-SNAPSHOT as of r605209). I'm using camel-
> > core-1.3-SNAPSHOT-tests.jar and camel-spring-1.3-SNAPSHOT-tests.jar
> > out of trunk, in addition to apache-camel-1.3.0.jar. I keep seeing
> > the following:
> >
> > org
> > springframework.beans.factory.parsing.BeanDefinitionParsingException:
> > Configuration problem: Unable to locate NamespaceHandler for namespace
> > [http://activemq.apache.org/camel/schema/spring]
> > Offending resource: class path resource [SimpleSpringTest.xml]
> >
> > --- SimpleSpringTest.xml ---
> > <?xml version="1.0" encoding="UTF-8"?>
> > <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance
> > "
> > xmlns:util="http://www.springframework.org/schema/util"
> > xsi:schemaLocation="http://www.springframework.org/schema/beans
> >
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> >
> http://www.springframework.org/schema/util
> >
> http://www.springframework.org/schema/util/spring-util-2.0.xsd
> >
> http://activemq.apache.org/camel/schema/spring
> >
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
> > ">
> >
> > <camelContext id="camel" xmlns="
> http://activemq.apache.org/camel/schema/spring
> > ">
> > <route>
> > <from uri="direct:start" />
> > <to uri="mock:results" />
> > </route>
> > </camelContext>
> >
> > </beans>
> >
> > --- SimpleSpringTest.java ---
> > public class SimpleSpringTest extends SpringTestSupport
> > {
> > public void testSimpleSend() throws Exception
> > {
> > MockEndpoint mock = resolveMandatoryEndpoint("mock:results",
> > MockEndpoint.class);
> > mock.setDefaulResultWaitMillis(1000);
> > mock.expectedBodiesReceived("foo");
> >
> > template.sendBody("direct:start", "foo");
> > mock.assertIsSatisfied();
> > }
> >
> > @Override
> > protected ClassPathXmlApplicationContext createApplicationContext()
> > {
> > return new ClassPathXmlApplicationContext(new String[]
> > { "SimpleSpringTest.xml" });
> > }
> > }
> >
> > Am I missing something obvious?
> >
> > - aaron
> >
> > On Jan 16, 2008, at 9:47 AM, Hadrian Zbarcea wrote:
> >
> > > Hi,
> > >
> > > The first release candidate of camel 1.3.0 is finally out. You can
> > > get the binary distributions here:
> > >
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/<http://people.apache.org/%7Ehadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/>
> > >
> > > maven 2 repo:
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2<http://people.apache.org/%7Ehadrian/apache-camel-1.3.0-RC1/maven2>
> > >
> > > Please check out this build and let me know if you see anything out
> > > of place.
> > >
> > > --
> > > Thanks,
> > > Hadrian
> >
> >
>
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
Re: Please help check Camel 1.3.0 RC1
Posted by James Strachan <ja...@gmail.com>.
Were you using the big "apache-camel-1.3.0.jar" on the classpath I
wonder? Am thinking there could be times when the uber-jar is created
by replacing, rather than concatenating the various files in
META-INF/services/*
On 16/01/2008, Aaron Crickenberger <aa...@intalgent.com> wrote:
> Unit tests using Spring-based routes stopped working for me
> (previously OK using 1.3-SNAPSHOT as of r605209). I'm using camel-
> core-1.3-SNAPSHOT-tests.jar and camel-spring-1.3-SNAPSHOT-tests.jar
> out of trunk, in addition to apache-camel-1.3.0.jar. I keep seeing
> the following:
>
> org
> springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Unable to locate NamespaceHandler for namespace
> [http://activemq.apache.org/camel/schema/spring]
> Offending resource: class path resource [SimpleSpringTest.xml]
>
> --- SimpleSpringTest.xml ---
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> "
> xmlns:util="http://www.springframework.org/schema/util"
> xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://www.springframework.org/schema/util
> http://www.springframework.org/schema/util/spring-util-2.0.xsd
> http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
> ">
>
> <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring
> ">
> <route>
> <from uri="direct:start" />
> <to uri="mock:results" />
> </route>
> </camelContext>
>
> </beans>
>
> --- SimpleSpringTest.java ---
> public class SimpleSpringTest extends SpringTestSupport
> {
> public void testSimpleSend() throws Exception
> {
> MockEndpoint mock = resolveMandatoryEndpoint("mock:results",
> MockEndpoint.class);
> mock.setDefaulResultWaitMillis(1000);
> mock.expectedBodiesReceived("foo");
>
> template.sendBody("direct:start", "foo");
> mock.assertIsSatisfied();
> }
>
> @Override
> protected ClassPathXmlApplicationContext createApplicationContext()
> {
> return new ClassPathXmlApplicationContext(new String[]
> { "SimpleSpringTest.xml" });
> }
> }
>
> Am I missing something obvious?
>
> - aaron
>
> On Jan 16, 2008, at 9:47 AM, Hadrian Zbarcea wrote:
>
> > Hi,
> >
> > The first release candidate of camel 1.3.0 is finally out. You can
> > get the binary distributions here:
> > http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
> >
> > maven 2 repo: http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
> >
> > Please check out this build and let me know if you see anything out
> > of place.
> >
> > --
> > Thanks,
> > Hadrian
>
>
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
Re: Please help check Camel 1.3.0 RC1
Posted by Aaron Crickenberger <aa...@intalgent.com>.
Unit tests using Spring-based routes stopped working for me
(previously OK using 1.3-SNAPSHOT as of r605209). I'm using camel-
core-1.3-SNAPSHOT-tests.jar and camel-spring-1.3-SNAPSHOT-tests.jar
out of trunk, in addition to apache-camel-1.3.0.jar. I keep seeing
the following:
org
springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unable to locate NamespaceHandler for namespace
[http://activemq.apache.org/camel/schema/spring]
Offending resource: class path resource [SimpleSpringTest.xml]
--- SimpleSpringTest.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.0.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
">
<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring
">
<route>
<from uri="direct:start" />
<to uri="mock:results" />
</route>
</camelContext>
</beans>
--- SimpleSpringTest.java ---
public class SimpleSpringTest extends SpringTestSupport
{
public void testSimpleSend() throws Exception
{
MockEndpoint mock = resolveMandatoryEndpoint("mock:results",
MockEndpoint.class);
mock.setDefaulResultWaitMillis(1000);
mock.expectedBodiesReceived("foo");
template.sendBody("direct:start", "foo");
mock.assertIsSatisfied();
}
@Override
protected ClassPathXmlApplicationContext createApplicationContext()
{
return new ClassPathXmlApplicationContext(new String[]
{ "SimpleSpringTest.xml" });
}
}
Am I missing something obvious?
- aaron
On Jan 16, 2008, at 9:47 AM, Hadrian Zbarcea wrote:
> Hi,
>
> The first release candidate of camel 1.3.0 is finally out. You can
> get the binary distributions here:
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
>
> maven 2 repo: http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
>
> Please check out this build and let me know if you see anything out
> of place.
>
> --
> Thanks,
> Hadrian
Re: Please help check Camel 1.3.0 RC1
Posted by James Strachan <ja...@gmail.com>.
On 16/01/2008, Hadrian Zbarcea <hz...@gmail.com> wrote:
> Hi,
>
> The first release candidate of camel 1.3.0 is finally out. You can
> get the binary distributions here:
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
>
> maven 2 repo: http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
>
> Please check out this build and let me know if you see anything out of
> place.
The main thing missing so far is the docs; there's no user guide PDF or javadoc.
Other than that, it looks great.
It might be worth trying to run RAT on it
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
Re: Please help check Camel 1.3.0 RC1
Posted by psheehan <PS...@decaresystems.ie>.
I'm having the same problems looks like some of the pom's are incomplete.
James.Strachan wrote:
>
> On 21/01/2008, borgel <bo...@gmail.com> wrote:
>>
>> I am having trouble using the maven repo. Receives an error on this file:
>> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/camel-core/1.3.0/camel-core-1.3.0.pom
>> The file is not well formed.
>
> Looks like the end of the file is missing :) Wonder if the upload failed?
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>
> Open Source Integration
> http://open.iona.com
>
>
--
View this message in context: http://www.nabble.com/Please-help-check-Camel-1.3.0-RC1-tp14883978s22882p15734327.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Please help check Camel 1.3.0 RC1
Posted by James Strachan <ja...@gmail.com>.
On 21/01/2008, borgel <bo...@gmail.com> wrote:
>
> I am having trouble using the maven repo. Receives an error on this file:
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/camel-core/1.3.0/camel-core-1.3.0.pom
> The file is not well formed.
Looks like the end of the file is missing :) Wonder if the upload failed?
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
Re: Please help check Camel 1.3.0 RC1
Posted by borgel <bo...@gmail.com>.
I am having trouble using the maven repo. Receives an error on this file:
http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/camel-core/1.3.0/camel-core-1.3.0.pom
The file is not well formed.
Hadrian Zbarcea wrote:
>
> Hi,
>
> The first release candidate of camel 1.3.0 is finally out. You can
> get the binary distributions here:
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
>
> maven 2 repo:
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2
>
> Please check out this build and let me know if you see anything out of
> place.
>
> --
> Thanks,
> Hadrian
>
--
View this message in context: http://www.nabble.com/Please-help-check-Camel-1.3.0-RC1-tp14883978s22882p14998261.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Please help check Camel 1.3.0 RC1
Posted by Arjan Moraal <na...@ajmoraal.fastmail.net>.
James.Strachan wrote:
>
> We could ship it; it provides the default Groovy expression support.
> The Groovy DSL for Camel isn't finished though; but then folks
> probably wouldn't know it was there unless they noodled the source :)
>
It is mentioned in the documentation as well:
http://activemq.apache.org/camel/scripting-languages.html
Arjan
--
View this message in context: http://www.nabble.com/Please-help-check-Camel-1.3.0-RC1-tp14883978s22882p14917922.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Please help check Camel 1.3.0 RC1
Posted by James Strachan <ja...@gmail.com>.
On 17/01/2008, Arjan Moraal <na...@ajmoraal.fastmail.net> wrote:
>
>
> Hadrian Zbarcea wrote:
> >
> > The first release candidate of camel 1.3.0 is finally out. You can
> > get the binary distributions here:
> > http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
> >
>
> Shouldn't the binary distribution (apache-camel-1.3.0.zip) contain the
> camel-groovy component, or is it not stable enough for release?
Good catch.
We could ship it; it provides the default Groovy expression support.
The Groovy DSL for Camel isn't finished though; but then folks
probably wouldn't know it was there unless they noodled the source :)
--
James
-------
http://macstrac.blogspot.com/
Open Source Integration
http://open.iona.com
Re: Please help check Camel 1.3.0 RC1
Posted by Arjan Moraal <na...@ajmoraal.fastmail.net>.
Hadrian Zbarcea wrote:
>
> The first release candidate of camel 1.3.0 is finally out. You can
> get the binary distributions here:
> http://people.apache.org/~hadrian/apache-camel-1.3.0-RC1/maven2/org/apache/camel/apache-camel/1.3.0/
>
Shouldn't the binary distribution (apache-camel-1.3.0.zip) contain the
camel-groovy component, or is it not stable enough for release?
Arjan
--
View this message in context: http://www.nabble.com/Please-help-check-Camel-1.3.0-RC1-tp14883978s22882p14916803.html
Sent from the Camel - Users mailing list archive at Nabble.com.