On 2010-6-8, at 下午2:52, Łukasz Budnik wrote:

Hi SM users,

I want to create a simple flow: CXF BC -> Camel -> CXF SE

I wrote something like that:

<osgi:camelContext xmlns="http://camel.apache.org/schema/spring";>
        <route id="order-processing-route">
<from uri="jbi:endpoint:http://servicemix.apache.org/samples/wsdl-first/PersonService/soap "/>
                <convertBodyTo type="org.w3c.dom.Document"/>
                <bean ref="myTransform" method="transform" />
                <to uri="log:TransformedInput" />
<to uri="jbi:endpoint:http://servicemix.apache.org/samples/wsdl-first/PersonService/PersonImplPort "/>
                <to uri="log:Output" />
        </route>
</osgi:camelContext>

where http://servicemix.apache.org/samples/wsdl-first/PersonService/soap
is BC and 
http://servicemix.apache.org/samples/wsdl-first/PersonService/PersonImplPort
is SE.

Hi,

I can't understand http://servicemix.apache.org/samples/wsdl-first/PersonService/soap is bc endpoint, IMHO it should be target of cxf bc endpoint.

Freeman

After I deployed it to SM 4 (in fact it's FUSE ESB 4.2) in nmr:list I
saw that camel exported a second PersonService:soap endpoint:

{http://servicemix.apache.org/samples/wsdl- first}PersonService:PersonImplPort
{http://servicemix.apache.org/samples/wsdl-first}PersonService:soap
{http://servicemix.apache.org/samples/wsdl-first}PersonService:soap

After I tested my BC with soapUI, Camel route was executed, I also saw
in nmr:list a new endpoint, it was some kind of random-unique camel
route id.

Most surprisingly it worked yesterday, but does not work today. So
there has to be something wrong with my approach :)

What is the best approach for this?

thanks,
Łukasz


--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to