Re: How to test redeliver messages?

2017-05-16 Thread carlphilipp
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.

Re: How to test redeliver messages?

2017-05-14 Thread Claus Ibsen
> 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

Re: How to test redeliver messages?

2017-05-14 Thread giannis_k
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.

How to test redeliver messages?

2017-05-13 Thread carlphilipp
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.

Re: How to test Camel-http outbound calls

2016-09-25 Thread Tadayoshi Sato
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

How to test Camel-http outbound calls

2016-09-24 Thread Goyal, Arpit
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

Re: How to test routes when using another TestRunner

2015-11-12 Thread souciance
.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.

Re: How to test routes when using another TestRunner

2015-11-10 Thread biphasic
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

Re: How to test routes when using another TestRunner

2015-11-08 Thread souciance
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

Re: How to test routes when using another TestRunner

2015-10-16 Thread biphasic
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.

RE: How to test routes when using another TestRunner

2015-10-15 Thread Steve Huston
: 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

How to test routes when using another TestRunner

2015-10-15 Thread biphasic
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.

Re: How to test a single route within a camel blueprint context

2015-06-12 Thread Claus Ibsen
> > > > > > > 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

How to test a single route within a camel blueprint context

2015-06-10 Thread noone100
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

Re: How to test Mina Server?

2014-02-28 Thread Claus Ibsen
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

How to test Mina Server?

2014-02-28 Thread doug5791
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.

Re: how to test the restlet service without startup web containner manually

2013-10-29 Thread Willem jiang
/) (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

Re: how to test the restlet service without startup web containner manually

2013-10-29 Thread CamelTyro
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.

Re: how to test the restlet service without startup web containner manually

2013-10-28 Thread Willem jiang
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).

how to test the restlet service without startup web containner manually

2013-10-28 Thread CamelTyro
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

Re: How to test spring:ws called within route?

2013-05-03 Thread Claus Ibsen
> > 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

How to test spring:ws called within route?

2013-05-03 Thread horyna
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

Re: how to test a header with a regular expression ?

2012-08-21 Thread Babak Vahdat
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

Re: Newbie: how to test?

2011-09-21 Thread Willem Jiang
: 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")

Re: Newbie: how to test?

2011-09-21 Thread Mick Knutson
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

Newbie: how to test?

2011-09-21 Thread kenhans
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")

RE: ??: How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-31 Thread XiaoPeng Li
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

Re: 答复: How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-29 Thread Willem Jiang
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:

答复: How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-28 Thread XiaoPeng Li
[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

Re: How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-28 Thread Willem Jiang
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

How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-28 Thread XiaoPeng Li
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

Re: Migration from Spring-DM to Blueprint. How to test?

2011-05-10 Thread Christian Müller
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

Re: Migration from Spring-DM to Blueprint. How to test?

2011-05-03 Thread Guillaume Nodet
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

Migration from Spring-DM to Blueprint. How to test?

2011-04-29 Thread Christian Müller
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

Re: How to test

2010-04-22 Thread Willem Jiang
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

Re: How to test

2010-04-22 Thread Muhammad Ichsan
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

Re: How to test

2010-04-22 Thread Willem Jiang
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:

Re: How to test

2010-04-22 Thread Claus Ibsen
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

How to test

2010-04-22 Thread Muhammad Ichsan
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