You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by horyna <ph...@centrum.cz> on 2013/05/03 14:16:10 UTC

How to test spring:ws called within route?

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
Sent from the Camel - Users mailing list archive at Nabble.com.

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

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

Read about testing
http://camel.apache.org/testing

And look at the section in the bottom of that page, it has links to
varios pages about testing with mocks / stubs / adviceWith and what
not.

On Fri, May 3, 2013 at 2:16 PM, horyna <ph...@centrum.cz> wrote:
> 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
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
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