You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by nojonojo <n0...@yahoo.com> on 2009/02/13 23:50:47 UTC
Re: Testing using Camel Test or Spring Testing or Guice
Camel-test isn't appearing in the 2.0 snapshots.
Nolan
willem.jiang wrote:
>
> Hi
> Since Camel-2.0 is not released yet, you can dowload the snapshot from
> here [1]. Please add this repository into your pom.xml, and set the
> camel version to be 2.0-SNAPSHOT.
>
> <repositories>
> <repository>
> <id>apache.snapshot</id>
> <name>Apache Software Foundation Snapshot Repository</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>false</enabled>
> </releases>
> </repository>
> ...
> </repositories>
>
> [1]the http://people.apache.org/repo/m2-snapshot-repository
>
> Willem
>
> Drone42 wrote:
>> Thanks for the guide.
>>
>> However maven cant find camel-test in the repository. Browsing the
>> content
>> of the repository I can find camel-itest. Is this the same? Or where do I
>> find camel-test?
>>
>>
>>
>> James.Strachan wrote:
>>> We've been through a few iterations of testing during the lifetime of
>>> the Camel project; we started with ContextTestSupport which was quite
>>> handy; Mock endpoints camel along, then the Camel binding and
>>> injection annotations came...
>>> http://activemq.apache.org/camel/bean-integration.html
>>>
>>> together with Spring Test came along along with which made testing
>>> much simpler and more powerful
>>> http://activemq.apache.org/camel/spring-testing.html
>>>
>>> then came Guice support not requiring any XML
>>> http://activemq.apache.org/camel/guice.html
>>>
>>> and finally support for Spring Java Config to allow folks to use
>>> Spring without any XML
>>> http://cwiki.apache.org/CAMEL/spring-java-config.html
>>>
>>> However not everyone uses Spring or Guice for Dependency Injection;
>>> sometimes folks use straight Java code. So then Camel Test has
>>> recently come along as an option...
>>> http://cwiki.apache.org/CAMEL/camel-test.html
>>>
>>> This might now all seem confusing! So I've tried to create a testing
>>> page describing how they are all now pretty similar; whether using
>>> Camel Test, Spring Testing with XML or Java Config or Guice...
>>> http://cwiki.apache.org/CAMEL/testing.html
>>>
>>> Any feedback/thoughts welcome!
>>>
>>> --
>>> James
>>> -------
>>> http://macstrac.blogspot.com/
>>>
>>> Open Source Integration
>>> http://fusesource.com/
>>>
>>>
>>
>
>
>
--
View this message in context: http://www.nabble.com/Testing-using-Camel-Test-or-Spring-Testing-or-Guice-tp20811429s22882p22006389.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Testing using Camel Test or Spring Testing or Guice
Posted by Willem Jiang <wi...@gmail.com>.
I did a quick fix for it .
Please check the latest CAMEL 2.0-SNAPSHOT for it :)
Willem
On Sun, Feb 15, 2009 at 4:24 PM, Claus Ibsen <cl...@gmail.com> wrote:
> On Fri, Feb 13, 2009 at 11:52 PM, nojonojo <n0...@yahoo.com> wrote:
> >
> >
> > Let me clarify - I chose a poor message to respond to. It's not
> appearing
> > in the standalone snapshot downloads (not related to the maven
> repository).
> Hi
>
> Thanks for reporting. I have created a ticket:
> https://issues.apache.org/activemq/browse/CAMEL-1342
>
> >
> >
> > nojonojo wrote:
> >>
> >>
> >> Camel-test isn't appearing in the 2.0 snapshots.
> >>
> >> Nolan
> >>
> >>
> >> willem.jiang wrote:
> >>>
> >>> Hi
> >>> Since Camel-2.0 is not released yet, you can dowload the snapshot from
> >>> here [1]. Please add this repository into your pom.xml, and set the
> >>> camel version to be 2.0-SNAPSHOT.
> >>>
> >>> <repositories>
> >>> <repository>
> >>> <id>apache.snapshot</id>
> >>> <name>Apache Software Foundation Snapshot Repository</name>
> >>> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
> >>> <snapshots>
> >>> <enabled>true</enabled>
> >>> </snapshots>
> >>> <releases>
> >>> <enabled>false</enabled>
> >>> </releases>
> >>> </repository>
> >>> ...
> >>> </repositories>
> >>>
> >>> [1]the http://people.apache.org/repo/m2-snapshot-repository
> >>>
> >>> Willem
> >>>
> >>> Drone42 wrote:
> >>>> Thanks for the guide.
> >>>>
> >>>> However maven cant find camel-test in the repository. Browsing the
> >>>> content
> >>>> of the repository I can find camel-itest. Is this the same? Or where
> do
> >>>> I
> >>>> find camel-test?
> >>>>
> >>>>
> >>>>
> >>>> James.Strachan wrote:
> >>>>> We've been through a few iterations of testing during the lifetime of
> >>>>> the Camel project; we started with ContextTestSupport which was quite
> >>>>> handy; Mock endpoints camel along, then the Camel binding and
> >>>>> injection annotations came...
> >>>>> http://activemq.apache.org/camel/bean-integration.html
> >>>>>
> >>>>> together with Spring Test came along along with which made testing
> >>>>> much simpler and more powerful
> >>>>> http://activemq.apache.org/camel/spring-testing.html
> >>>>>
> >>>>> then came Guice support not requiring any XML
> >>>>> http://activemq.apache.org/camel/guice.html
> >>>>>
> >>>>> and finally support for Spring Java Config to allow folks to use
> >>>>> Spring without any XML
> >>>>> http://cwiki.apache.org/CAMEL/spring-java-config.html
> >>>>>
> >>>>> However not everyone uses Spring or Guice for Dependency Injection;
> >>>>> sometimes folks use straight Java code. So then Camel Test has
> >>>>> recently come along as an option...
> >>>>> http://cwiki.apache.org/CAMEL/camel-test.html
> >>>>>
> >>>>> This might now all seem confusing! So I've tried to create a testing
> >>>>> page describing how they are all now pretty similar; whether using
> >>>>> Camel Test, Spring Testing with XML or Java Config or Guice...
> >>>>> http://cwiki.apache.org/CAMEL/testing.html
> >>>>>
> >>>>> Any feedback/thoughts welcome!
> >>>>>
> >>>>> --
> >>>>> James
> >>>>> -------
> >>>>> http://macstrac.blogspot.com/
> >>>>>
> >>>>> Open Source Integration
> >>>>> http://fusesource.com/
> >>>>>
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> > --
> > View this message in context:
> http://www.nabble.com/Testing-using-Camel-Test-or-Spring-Testing-or-Guice-tp20811429s22882p22006406.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
> >
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
>
Re: Testing using Camel Test or Spring Testing or Guice
Posted by Claus Ibsen <cl...@gmail.com>.
On Fri, Feb 13, 2009 at 11:52 PM, nojonojo <n0...@yahoo.com> wrote:
>
>
> Let me clarify - I chose a poor message to respond to. It's not appearing
> in the standalone snapshot downloads (not related to the maven repository).
Hi
Thanks for reporting. I have created a ticket:
https://issues.apache.org/activemq/browse/CAMEL-1342
>
>
> nojonojo wrote:
>>
>>
>> Camel-test isn't appearing in the 2.0 snapshots.
>>
>> Nolan
>>
>>
>> willem.jiang wrote:
>>>
>>> Hi
>>> Since Camel-2.0 is not released yet, you can dowload the snapshot from
>>> here [1]. Please add this repository into your pom.xml, and set the
>>> camel version to be 2.0-SNAPSHOT.
>>>
>>> <repositories>
>>> <repository>
>>> <id>apache.snapshot</id>
>>> <name>Apache Software Foundation Snapshot Repository</name>
>>> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>>> <snapshots>
>>> <enabled>true</enabled>
>>> </snapshots>
>>> <releases>
>>> <enabled>false</enabled>
>>> </releases>
>>> </repository>
>>> ...
>>> </repositories>
>>>
>>> [1]the http://people.apache.org/repo/m2-snapshot-repository
>>>
>>> Willem
>>>
>>> Drone42 wrote:
>>>> Thanks for the guide.
>>>>
>>>> However maven cant find camel-test in the repository. Browsing the
>>>> content
>>>> of the repository I can find camel-itest. Is this the same? Or where do
>>>> I
>>>> find camel-test?
>>>>
>>>>
>>>>
>>>> James.Strachan wrote:
>>>>> We've been through a few iterations of testing during the lifetime of
>>>>> the Camel project; we started with ContextTestSupport which was quite
>>>>> handy; Mock endpoints camel along, then the Camel binding and
>>>>> injection annotations came...
>>>>> http://activemq.apache.org/camel/bean-integration.html
>>>>>
>>>>> together with Spring Test came along along with which made testing
>>>>> much simpler and more powerful
>>>>> http://activemq.apache.org/camel/spring-testing.html
>>>>>
>>>>> then came Guice support not requiring any XML
>>>>> http://activemq.apache.org/camel/guice.html
>>>>>
>>>>> and finally support for Spring Java Config to allow folks to use
>>>>> Spring without any XML
>>>>> http://cwiki.apache.org/CAMEL/spring-java-config.html
>>>>>
>>>>> However not everyone uses Spring or Guice for Dependency Injection;
>>>>> sometimes folks use straight Java code. So then Camel Test has
>>>>> recently come along as an option...
>>>>> http://cwiki.apache.org/CAMEL/camel-test.html
>>>>>
>>>>> This might now all seem confusing! So I've tried to create a testing
>>>>> page describing how they are all now pretty similar; whether using
>>>>> Camel Test, Spring Testing with XML or Java Config or Guice...
>>>>> http://cwiki.apache.org/CAMEL/testing.html
>>>>>
>>>>> Any feedback/thoughts welcome!
>>>>>
>>>>> --
>>>>> James
>>>>> -------
>>>>> http://macstrac.blogspot.com/
>>>>>
>>>>> Open Source Integration
>>>>> http://fusesource.com/
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Testing-using-Camel-Test-or-Spring-Testing-or-Guice-tp20811429s22882p22006406.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Re: Testing using Camel Test or Spring Testing or Guice
Posted by nojonojo <n0...@yahoo.com>.
Let me clarify - I chose a poor message to respond to. It's not appearing
in the standalone snapshot downloads (not related to the maven repository).
nojonojo wrote:
>
>
> Camel-test isn't appearing in the 2.0 snapshots.
>
> Nolan
>
>
> willem.jiang wrote:
>>
>> Hi
>> Since Camel-2.0 is not released yet, you can dowload the snapshot from
>> here [1]. Please add this repository into your pom.xml, and set the
>> camel version to be 2.0-SNAPSHOT.
>>
>> <repositories>
>> <repository>
>> <id>apache.snapshot</id>
>> <name>Apache Software Foundation Snapshot Repository</name>
>> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>> <snapshots>
>> <enabled>true</enabled>
>> </snapshots>
>> <releases>
>> <enabled>false</enabled>
>> </releases>
>> </repository>
>> ...
>> </repositories>
>>
>> [1]the http://people.apache.org/repo/m2-snapshot-repository
>>
>> Willem
>>
>> Drone42 wrote:
>>> Thanks for the guide.
>>>
>>> However maven cant find camel-test in the repository. Browsing the
>>> content
>>> of the repository I can find camel-itest. Is this the same? Or where do
>>> I
>>> find camel-test?
>>>
>>>
>>>
>>> James.Strachan wrote:
>>>> We've been through a few iterations of testing during the lifetime of
>>>> the Camel project; we started with ContextTestSupport which was quite
>>>> handy; Mock endpoints camel along, then the Camel binding and
>>>> injection annotations came...
>>>> http://activemq.apache.org/camel/bean-integration.html
>>>>
>>>> together with Spring Test came along along with which made testing
>>>> much simpler and more powerful
>>>> http://activemq.apache.org/camel/spring-testing.html
>>>>
>>>> then came Guice support not requiring any XML
>>>> http://activemq.apache.org/camel/guice.html
>>>>
>>>> and finally support for Spring Java Config to allow folks to use
>>>> Spring without any XML
>>>> http://cwiki.apache.org/CAMEL/spring-java-config.html
>>>>
>>>> However not everyone uses Spring or Guice for Dependency Injection;
>>>> sometimes folks use straight Java code. So then Camel Test has
>>>> recently come along as an option...
>>>> http://cwiki.apache.org/CAMEL/camel-test.html
>>>>
>>>> This might now all seem confusing! So I've tried to create a testing
>>>> page describing how they are all now pretty similar; whether using
>>>> Camel Test, Spring Testing with XML or Java Config or Guice...
>>>> http://cwiki.apache.org/CAMEL/testing.html
>>>>
>>>> Any feedback/thoughts welcome!
>>>>
>>>> --
>>>> James
>>>> -------
>>>> http://macstrac.blogspot.com/
>>>>
>>>> Open Source Integration
>>>> http://fusesource.com/
>>>>
>>>>
>>>
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Testing-using-Camel-Test-or-Spring-Testing-or-Guice-tp20811429s22882p22006406.html
Sent from the Camel - Users mailing list archive at Nabble.com.