You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ryan Moquin <fr...@gmail.com> on 2013/02/28 05:32:53 UTC

camel-blueprint-test issues

I converted a test that was using the camel-test library to the
camel-test-blueprint library and it appears that the route runs at least
twice, but at the exact same time.  I'm not sure why each route is being
created more than once per test.  I do see at the beginning of the test it
print out that I't loading the bundle activator twice.  I also generated a
sample camel blueprint project from the maven archetype and it appears to
exhibit the same behavior.

I'using 2.11-SNAPSHOT btw.  I haven't seen anyone mention this nor did I
see anything in jira about it.  Has anyone noticed anything similar?
 I decided I'd have to try using karaf pax exam instead since I just can't
to figure out how to get the blueprint the testing working correctly.
 Hopefully someone has seen and gotten past that behavior.

Thanks for any suggestions or help!

Ryan

Re: camel-blueprint-test issues

Posted by Ryan Moquin <fr...@gmail.com>.
Right, I can see it was getting a new snapshot.  Wasn't sure if there was a
way to correlate the numbers.  I thought about building the source, but
figured I'd be patient :)

Thabks for the help!

Ryan
On Mar 7, 2013 5:55 AM, "Claus Ibsen" <cl...@gmail.com> wrote:

> On Sun, Mar 3, 2013 at 2:38 PM, Ryan Moquin <fr...@gmail.com>
> wrote:
> > This fix would be in a snapshot by now right?   Just want to make sure I
> > try it against a corrected snapshot.
> >
>
> Yeah you can see on the timestamp on the SNAPSHOT JAR being downloaded.
>
> Though you can build the source yourself and use that
> http://camel.apache.org/building.html
>
> > Ryan
> >
> >
> > On Sat, Mar 2, 2013 at 3:17 PM, Ryan Moquin <fr...@gmail.com>
> wrote:
> >
> >> Awesome, was sure I wasn't crazy. :) Happy it's fixed already!
> >>
> >> Ryan
> >> On Feb 28, 2013 3:48 AM, "Claus Ibsen" <cl...@gmail.com> wrote:
> >>
> >>> Hi
> >>>
> >>> Well spotted. I have logged a ticket
> >>> https://issues.apache.org/jira/browse/CAMEL-6111
> >>>
> >>> On Thu, Feb 28, 2013 at 5:32 AM, Ryan Moquin <fr...@gmail.com>
> >>> wrote:
> >>> > I converted a test that was using the camel-test library to the
> >>> > camel-test-blueprint library and it appears that the route runs at
> least
> >>> > twice, but at the exact same time.  I'm not sure why each route is
> being
> >>> > created more than once per test.  I do see at the beginning of the
> test
> >>> it
> >>> > print out that I't loading the bundle activator twice.  I also
> >>> generated a
> >>> > sample camel blueprint project from the maven archetype and it
> appears
> >>> to
> >>> > exhibit the same behavior.
> >>> >
> >>> > I'using 2.11-SNAPSHOT btw.  I haven't seen anyone mention this nor
> did I
> >>> > see anything in jira about it.  Has anyone noticed anything similar?
> >>> >  I decided I'd have to try using karaf pax exam instead since I just
> >>> can't
> >>> > to figure out how to get the blueprint the testing working correctly.
> >>> >  Hopefully someone has seen and gotten past that behavior.
> >>> >
> >>> > Thanks for any suggestions or help!
> >>> >
> >>> > Ryan
> >>>
> >>>
> >>>
> >>> --
> >>> Claus Ibsen
> >>> -----------------
> >>> Red Hat, Inc.
> >>> FuseSource is now part of Red Hat
> >>> Email: cibsen@redhat.com
> >>> Web: http://fusesource.com
> >>> Twitter: davsclaus
> >>> Blog: http://davsclaus.com
> >>> Author of Camel in Action: http://www.manning.com/ibsen
> >>>
> >>
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: camel-blueprint-test issues

Posted by Claus Ibsen <cl...@gmail.com>.
On Sun, Mar 3, 2013 at 2:38 PM, Ryan Moquin <fr...@gmail.com> wrote:
> This fix would be in a snapshot by now right?   Just want to make sure I
> try it against a corrected snapshot.
>

Yeah you can see on the timestamp on the SNAPSHOT JAR being downloaded.

Though you can build the source yourself and use that
http://camel.apache.org/building.html

> Ryan
>
>
> On Sat, Mar 2, 2013 at 3:17 PM, Ryan Moquin <fr...@gmail.com> wrote:
>
>> Awesome, was sure I wasn't crazy. :) Happy it's fixed already!
>>
>> Ryan
>> On Feb 28, 2013 3:48 AM, "Claus Ibsen" <cl...@gmail.com> wrote:
>>
>>> Hi
>>>
>>> Well spotted. I have logged a ticket
>>> https://issues.apache.org/jira/browse/CAMEL-6111
>>>
>>> On Thu, Feb 28, 2013 at 5:32 AM, Ryan Moquin <fr...@gmail.com>
>>> wrote:
>>> > I converted a test that was using the camel-test library to the
>>> > camel-test-blueprint library and it appears that the route runs at least
>>> > twice, but at the exact same time.  I'm not sure why each route is being
>>> > created more than once per test.  I do see at the beginning of the test
>>> it
>>> > print out that I't loading the bundle activator twice.  I also
>>> generated a
>>> > sample camel blueprint project from the maven archetype and it appears
>>> to
>>> > exhibit the same behavior.
>>> >
>>> > I'using 2.11-SNAPSHOT btw.  I haven't seen anyone mention this nor did I
>>> > see anything in jira about it.  Has anyone noticed anything similar?
>>> >  I decided I'd have to try using karaf pax exam instead since I just
>>> can't
>>> > to figure out how to get the blueprint the testing working correctly.
>>> >  Hopefully someone has seen and gotten past that behavior.
>>> >
>>> > Thanks for any suggestions or help!
>>> >
>>> > Ryan
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> Red Hat, Inc.
>>> FuseSource is now part of Red Hat
>>> Email: cibsen@redhat.com
>>> Web: http://fusesource.com
>>> Twitter: davsclaus
>>> Blog: http://davsclaus.com
>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: camel-blueprint-test issues

Posted by Ryan Moquin <fr...@gmail.com>.
This fix would be in a snapshot by now right?   Just want to make sure I
try it against a corrected snapshot.

Ryan


On Sat, Mar 2, 2013 at 3:17 PM, Ryan Moquin <fr...@gmail.com> wrote:

> Awesome, was sure I wasn't crazy. :) Happy it's fixed already!
>
> Ryan
> On Feb 28, 2013 3:48 AM, "Claus Ibsen" <cl...@gmail.com> wrote:
>
>> Hi
>>
>> Well spotted. I have logged a ticket
>> https://issues.apache.org/jira/browse/CAMEL-6111
>>
>> On Thu, Feb 28, 2013 at 5:32 AM, Ryan Moquin <fr...@gmail.com>
>> wrote:
>> > I converted a test that was using the camel-test library to the
>> > camel-test-blueprint library and it appears that the route runs at least
>> > twice, but at the exact same time.  I'm not sure why each route is being
>> > created more than once per test.  I do see at the beginning of the test
>> it
>> > print out that I't loading the bundle activator twice.  I also
>> generated a
>> > sample camel blueprint project from the maven archetype and it appears
>> to
>> > exhibit the same behavior.
>> >
>> > I'using 2.11-SNAPSHOT btw.  I haven't seen anyone mention this nor did I
>> > see anything in jira about it.  Has anyone noticed anything similar?
>> >  I decided I'd have to try using karaf pax exam instead since I just
>> can't
>> > to figure out how to get the blueprint the testing working correctly.
>> >  Hopefully someone has seen and gotten past that behavior.
>> >
>> > Thanks for any suggestions or help!
>> >
>> > Ryan
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> Red Hat, Inc.
>> FuseSource is now part of Red Hat
>> Email: cibsen@redhat.com
>> Web: http://fusesource.com
>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>

Re: camel-blueprint-test issues

Posted by Ryan Moquin <fr...@gmail.com>.
Awesome, was sure I wasn't crazy. :) Happy it's fixed already!

Ryan
On Feb 28, 2013 3:48 AM, "Claus Ibsen" <cl...@gmail.com> wrote:

> Hi
>
> Well spotted. I have logged a ticket
> https://issues.apache.org/jira/browse/CAMEL-6111
>
> On Thu, Feb 28, 2013 at 5:32 AM, Ryan Moquin <fr...@gmail.com>
> wrote:
> > I converted a test that was using the camel-test library to the
> > camel-test-blueprint library and it appears that the route runs at least
> > twice, but at the exact same time.  I'm not sure why each route is being
> > created more than once per test.  I do see at the beginning of the test
> it
> > print out that I't loading the bundle activator twice.  I also generated
> a
> > sample camel blueprint project from the maven archetype and it appears to
> > exhibit the same behavior.
> >
> > I'using 2.11-SNAPSHOT btw.  I haven't seen anyone mention this nor did I
> > see anything in jira about it.  Has anyone noticed anything similar?
> >  I decided I'd have to try using karaf pax exam instead since I just
> can't
> > to figure out how to get the blueprint the testing working correctly.
> >  Hopefully someone has seen and gotten past that behavior.
> >
> > Thanks for any suggestions or help!
> >
> > Ryan
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>

Re: camel-blueprint-test issues

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Well spotted. I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-6111

On Thu, Feb 28, 2013 at 5:32 AM, Ryan Moquin <fr...@gmail.com> wrote:
> I converted a test that was using the camel-test library to the
> camel-test-blueprint library and it appears that the route runs at least
> twice, but at the exact same time.  I'm not sure why each route is being
> created more than once per test.  I do see at the beginning of the test it
> print out that I't loading the bundle activator twice.  I also generated a
> sample camel blueprint project from the maven archetype and it appears to
> exhibit the same behavior.
>
> I'using 2.11-SNAPSHOT btw.  I haven't seen anyone mention this nor did I
> see anything in jira about it.  Has anyone noticed anything similar?
>  I decided I'd have to try using karaf pax exam instead since I just can't
> to figure out how to get the blueprint the testing working correctly.
>  Hopefully someone has seen and gotten past that behavior.
>
> Thanks for any suggestions or help!
>
> Ryan



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen