If you want to send the message smartly, you can do the work like this

form("direct:logical").to("cxf:bean:clientEndpoint");

from("direct:physical").to("……")

You can specify the clientEndpoint Address to be "camel://direct:physical", 
then the second camel route can route the request dynamically as you want.
You can change the invocation parameters in the first route as usual.


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Monday, January 7, 2013 at 4:11 AM, helander wrote:

> Do you mean something like this:
>  
> from("cxf:bean:nameofendpointbean").to(......
>  
> What address do I put on the endpoint bean ?
>  
> What adress do I specify in the cxf client ?
>  
> Thanks
>  
> Lars
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Producing-consuming-SOAP-messages-to-from-POJOs-using-camel-cxf-tp5724949p5725019.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to