-
1. Re: Service virtualization
bsnyder Jan 14, 2008 2:52 PM (in response to noutlaw)I'm trying to figure out if the ESB/WS stack will support service virtualization. As an example if a service producer (producer.com) has a simple stock quote WSDL can they give the WSDL to me (foo.com) and through the esb stack I can virtualize the service. So a consumer looking for a stock quote service can see that i have one (consumer.com\simplestockquote.wsdl) but when they execute the wsdl the messages are really being forwarded to (publisher.com\simplestock.wsdl).
I know it's sort of a simple thing to define a different URI but a message interceptor needs to manage this and do the routing accordingly....
I believe you're asking how to route a message between two CXF endpoints. If so, there are docs for an example that comes with Apache Camel on how to do exactly this available here:
http://activemq.apache.org/camel/cxf-example.html
Take a look at that to see if it addresses your question and let us know by responding here.
Bruce
-
2. Re: Service virtualization
hzbarcea_hzbarcea Jan 14, 2008 2:56 PM (in response to noutlaw)While it is possible to use cxf for routing, a simpler and more natural solution is to use the FUSE Mediation Router based on Apache Camel for that (http://open.iona.com/products/fuse-mediation-router/)
As an example please check http://activemq.apache.org/camel/cxf-example.html.
I hope this helps
Hadrian
-
3. Re: Service virtualization
noutlaw Jan 14, 2008 5:42 PM (in response to hzbarcea_hzbarcea)thanks - this is what i was looking for...