camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wolf <markus.w...@nmmn.com>
Subject Testing Jetty Endpoint
Date Thu, 05 Nov 2009 14:49:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I want to write a unit test for a producer receiving the exchange from a
jetty endpoint. Is there an example for doing this in the camel sources?
Or is this the wrong way to write a test case?

Currently I tried to setup the jetty->processor route in the test case
and then send a request to the configured endpoint. But this does not
work as expected and I always get a http 500 error back. When I call the
endpoint url from a browser it does work as expected.

Thanks for any ideas
Markus Wolf
- --
NMMN - New Media Markets & Networks GmbH
Langbehnstrasse 6, 22761 Hamburg
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona - UStID DE 812 699 852 - HRB 71102 Hamburg
HypoVereinsbank   -   BLZ 200 300 00   -   Konto-Nr. 156 29 82

http://www.nmmn.com
Tel.: +49 40 284 118-0  -  Fax: +49 40 284118-999
Softwareentwicklung LLynch: -720
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkry5hQACgkQDBHISU1oEKHsowCgmjgb6qr10IjH15FbjgVXKL1E
fugAoJfHE72SZWyOZjttVr3j5bpKcwAA
=t02M
-----END PGP SIGNATURE-----

Mime
View raw message