Thanks Claus, it worked well!
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-redeliver-messages-tp5799456p5799666.html
Sent from the Camel - Users mailing list archive at Nabble.com.
> This will throw the exception anytime, what if I want to make it fail only
> once?
>
> Thanks,
> Carl
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-test-redeliver-messages-tp5799456.html
> Sent from the Camel - Users ma
in context:
http://camel.465427.n5.nabble.com/How-to-test-redeliver-messages-tp5799456p5799480.html
Sent from the Camel - Users mailing list archive at Nabble.com.
fail only
once?
Thanks,
Carl
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-redeliver-messages-tp5799456.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
Whether or not it's a standard practice, I don't think there is any other
good approach than either mocking the component and checking the headers,
or using an embedded Jetty server inside the test case. Also, such kind of
integration test should be more reliable if you want to repeatedly c
We have to validate whether the authentication and encryption aspect of HTTP
outbound calls are working properly. On searching most of the testing pointers
are to mock the component and verify the values being sent to HTTP endpoint.
But based on the link [1] there is a comment at the end which t
.465427.n5.nabble.com/How-to-test-routes-when-using-another-TestRunner-tp5772687p5773748.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ia Camel]"
To: "biphasic"
Sent: Sunday, 8 November, 2015 10:48:06 PM
Subject: Re: How to test routes when using another TestRunner
Hi Greg,
I am also trying to get cucumber working with camel, any chance you can share
the snippet you added to get it to work? Thanks
Souciance
If
Hi Greg,
I am also trying to get cucumber working with camel, any chance you can
share the snippet you added to get it to work? Thanks
Souciance
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-routes-when-using-another-TestRunner-tp5772687p5773514.html
Sent from
works with the Cucumber
stack as well. Really happy this works now.
Cheers,
Greg
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-routes-when-using-another-TestRunner-tp5772687p5772710.html
Sent from the Camel - Users mailing list archive at Nabble.com.
:
CamelContext ctx = applicationContext.getBean("camel-context-name",
CamelContext.class);
-Steve
> -Original Message-
> From: biphasic [mailto:gregorl...@neovahealth.co.uk]
> Sent: Thursday, October 15, 2015 12:01 PM
> To: users@camel.apache.org
> Subject: How to test
reate when extending
CamelSpringTestSupport and I cannot use the SpringJUnitClassRunner?
Thankful for any hints,
Cheers
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-routes-when-using-another-TestRunner-tp5772687.html
Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
>
>
>
> How can I modify the blueprint.xml (or the test) if I'm only interested in
> testing route two without the need to setup an activemq broker?
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to
Given following blueprint snippet:
How can I modify the blueprint.xml (or the test) if I'm only interested in
testing route two without the need to setup an activemq broker?
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-t
cp://localhost:8999", string);
>
> However, that was not successful.
>
> Could someone let me know if there is a good way to create a "client" that
> will send a bunch of strings to my mina route that is listening?
>
>
>
>
> --
> View this message in c
message in context:
http://camel.465427.n5.nabble.com/How-to-test-Mina-Server-tp5748139.html
Sent from the Camel - Users mailing list archive at Nabble.com.
/)
(English)
http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On Tuesday, October 29, 2013 at 3:51 PM, CamelTyro wrote:
> Must I startup a web container
>
>
>
> --
> View this message in context:
> http://camel.465427
Must I startup a web container
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-test-the-restlet-service-without-startup-web-containner-manually-tp5742339p5742343.html
Sent from the Camel - Users mailing list archive at Nabble.com.
s everybody met this problem? please provide me how to
> resolve it.
> Thanks sincerely.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/how-to-test-the-restlet-service-without-startup-web-containner-manually-tp5742339.html
> Sent from the Camel - Users mailing list archive at Nabble.com
> (http://Nabble.com).
634062 via browser
The question is how can I test it by junit , without manually startup the
web containner, does everybody met this problem? please provide me how to
resolve it.
Thanks sincerely.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-test-the-restlet-servi
>
> I need to see the whole soap message (including header), but dont call the
> target system in the unit test.
>
> How to do it?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-test-spring-ws-called-within-route-tp5731965.h
route: to("spring:ws:http://xy";)
I need to see the whole soap message (including header), but dont call the
target system in the unit test.
How to do it?
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-spring-ws-called-within-route-tp5731965.html
Hi
Regexp is supported as well:
mockEndpoint.expectedMessagesMatches(header("CamelFileName").regex("test-[0-9]{4}-[0-9]{2}-[0-9]{2}\\.xml"));
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-test-a-header-with-a-regular-expressi
:
hello,
I started looking into Camel a few days ago and was wondering how to test...
I define my camelContext through Spring, with the route I want to use
http://camel.apache.org/schema/spring";>
my subscriptionRoute is defined like this:
from("jms:queue:subscription")
http://www.baselogic.com
Blog: http://www.baselogic.com/blog/
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
---
On Wed, Sep 21, 2011 at 7:07 AM, kenhans wrote:
> hello,
> I started looking into Camel a few days ago and was wondering how to
> test...
&g
hello,
I started looking into Camel a few days ago and was wondering how to test...
I define my camelContext through Spring, with the route I want to use
http://camel.apache.org/schema/spring";>
my subscriptionRoute is defined like this:
from("jms:queue:subscription")
PM
To: users@camel.apache.org
Subject: Re: ??: How to test routes in exported OSGI bundles using Camel Test
Framework
You can get the mock endpoint from camel context.
If you want to replace it with real component with mock enpdoint, you
may need to change the route yourself.
On 8/29/11 11:22
nt;"
Maybe I got some misunderstanding about Camel Test framework, I thought it was
due to route developers who do the mock component replacement.
Thanks
Xiaopeng Li
-邮件原件-
发件人: Willem Jiang [mailto:willem.ji...@gmail.com]
发送时间: 2011年8月29日 10:58
收件人: users@camel.apache.org
主题: Re:
[mailto:willem.ji...@gmail.com]
发送时间: 2011年8月29日 10:58
收件人: users@camel.apache.org
主题: Re: How to test routes in exported OSGI bundles using Camel Test Framework
I don't get what you are asking for.
If you want to test the route by using the Camel Test Framework, you
don't need to care
I don't get what you are asking for.
If you want to test the route by using the Camel Test Framework, you
don't need to care about the if the route is in a OSGi bundle or not.
The Mock endpoint can do it job if you setup the test framework rightly.
On Mon Aug 29 10:39:54 2011, XiaoPeng Li wrote
Hi
Here is my question:
I want to unit test my routes using Camel Test Framework, however these routes
are exported as OSGI bundles which only contains binary classes or resources.
Thus it's hard to Mock the real endpoint using Mock component, would someone
give some suggestions?
I am using C
Hello Guillaume,
thanks for your response. Ade asked me to put this question also in the fuse
mailing list and added your answer.
We will wait a bit to migrate to Blueprint until there is a well proved
testing framework (the one you suggested or Pax 2).
Best,
Christian
Last week, I've been experimenting with PojoSR
(http://code.google.com/p/pojosr/) which looks like a good solution
for testing OSGi stuff in a lightweight way. The idea is that you
don't boot a full OSGi runtime, but rather emulate an OSGi framewokr
in a flat class loader. This project has been i
Hello list!
We are planing to migrate from ServiceMix 4.2.0-fuse-02-00 to
4.3.1-fuse-01-09 and from Camel 2.2.0-fuse-02-00 to Camel 2.6.0-fuse-01-09.
We also thinking about to migrate from Spring-DM to Blueprint.
At present, each of our projects contains three Spring configuration files:
- src/mai
Muhammad Ichsan wrote:
On Thu, Apr 22, 2010 at 8:24 PM, Claus Ibsen wrote:
Hi
I dont tink the tar have the -test source code.
You can view that online at
https://svn.apache.org/repos/asf/camel/trunk/components/camel-mina/src/test/
Thanks, this URL is enough for me. But the test class ne
On Thu, Apr 22, 2010 at 8:24 PM, Claus Ibsen wrote:
> Hi
>
> I dont tink the tar have the -test source code.
>
> You can view that online at
>
> https://svn.apache.org/repos/asf/camel/trunk/components/camel-mina/src/test/
>
Thanks, this URL is enough for me. But the test class needs some
modific
I checked the apache-camel-2.3.0-SNAPSHOT-src.tar.gz and the
apache-camel-2.2.0-src.tar.gz
The camel-mina unit test files are in the director of
"components/camel-mina/src/test/"
Willem
Claus Ibsen wrote:
Hi
I dont tink the tar have the -test source code.
You can view that online at
https:
Hi
I dont tink the tar have the -test source code.
You can view that online at
https://svn.apache.org/repos/asf/camel/trunk/components/camel-mina/src/test/
On Thu, Apr 22, 2010 at 3:05 PM, Muhammad Ichsan wrote:
> Dear All
>
> I want to create a component which also use its own uri. How to uni
Dear All
I want to create a component which also use its own uri. How to unit test
the component? I see nothing about testing components (e.g. camel-mina) in
the source apache-camel-2.2.0-src.tar.gz
--
~The best men are men who benefit to others
http://michsan.web.id
39 matches
Mail list logo