Hi,
My comment inline.
On 2010-8-11, at 下午5:51, sunny wrote:
Hi all,
I want to integrate two application via ServiceMix.
There are two application A and B,both of them exposed web-service
interface
for external applications.
I want to integrate them,Example:create a product in application
A,Then
expect this product is created automatically in application B.How to
do?
Now I have created two CXF BC to bind service of application A and B.
I imagine send a request message to bc(this bc for receiving
message,http-bc),then create a se to transform and route message(route
message to A-bc/B-BC).
This flow is more reasonable IMO.
So the flow looks like
client ----> http-bc-consumer(or cxf-bc-consumer)--->a se to route
message(you can use smx-camel[1] or smx-eip[2] here)------->cxf bc
provider1--->external application A
------->cxf bc provider2---> external
application B
[1]http://servicemix.apache.org/servicemix-camel.html
[2]http://servicemix.apache.org/servicemix-eip.html
Freeman
or send a request message to one of application bc(A-bc) directly,then
transform it and route it to another one(B-bc) through se.
Is my work-flow right?
I am a newcomer of servicemix,hope someone's help,Thanks!
Regards,
sunny
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Integrate-two-application-via-servicemix-tp2471683p2471683.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org