An: users@camel.apache.org
Betreff: Re: CamelTestSupport Needs a New Method
I would prefer to add another signature for that method such that it
accepts a 2nd argument create which is a boolean. If true, it will
create the endpoint; else it will return null.
I don't think CamelTestSupport should
...@evosent.com]
Gesendet: Freitag, 27. September 2013 15:36
An: users@camel.apache.org
Betreff: Re: CamelTestSupport Needs a New Method
I would prefer to add another signature for that method such that it
accepts a 2nd argument create which is a boolean. If true, it will
create the endpoint
) ...
Jan
-Ursprüngliche Nachricht-
Von: Raul Kripalani [mailto:r...@evosent.com]
Gesendet: Freitag, 27. September 2013 15:36
An: users@camel.apache.org
Betreff: Re: CamelTestSupport Needs a New Method
I would prefer to add another signature for that method such that it
accepts
There is a problem with the CamelTestSupport class in that if you call
getMockEndpoint on an endpoint that doesnt exist, it blithely returns you
an endpoint connected to nothing. The problem is you end up chasing endless
test failures when the fact is your endpoint is not even there. So I
suggest
Yeah, it's a good suggestion.
Please feel free to fill a JIRA[1] for it :)
[1]http://issues.apache.org/jira/browse/CAMEL
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
I would prefer to add another signature for that method such that it
accepts a 2nd argument create which is a boolean. If true, it will create
the endpoint; else it will return null.
I don't think CamelTestSupport should make the assertion; it should be the
user's code, if that's what he/she is
(uri) ...
Jan
-Ursprüngliche Nachricht-
Von: Raul Kripalani [mailto:r...@evosent.com]
Gesendet: Freitag, 27. September 2013 15:36
An: users@camel.apache.org
Betreff: Re: CamelTestSupport Needs a New Method
I would prefer to add another signature for that method
) ...
Jan
-Ursprüngliche Nachricht-
Von: Raul Kripalani [mailto:r...@evosent.com]
Gesendet: Freitag, 27. September 2013 15:36
An: users@camel.apache.org
Betreff: Re: CamelTestSupport Needs a New Method
I would prefer to add another signature for that method such that it
accepts