Hi,

Please tell us what servicemix version you're using.

Freeman
On 2011-7-20, at 上午8:30, chandraprabha wrote:

Hi All,

I am trying to implement the same cxfbc ->camel -> cxfse



bean.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:member="http://company.com/member";
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd";

        <cxfbc:consumer wsdl="classpath:wsdl/my.wsdl"
         targetInterface="member:Person" endpoint="test"
targetEndpoint="CamelRoute" />


<camel:camelContext xmlns="http://camel.apache.org/schema/spring";
autoStartup="true">                <route>   <from
uri="jbi:endpoint:http://company.com/member/Service/CamelRoute"/>
                        <choice>
                                <when>
                                        
<simple>${in.header.operationName}=="isTestMember"</simple>
                                        <to
                                        
uri="jbi:endpoint:=http://www.springframework.org/schema/beans/Service1/PSProxy "
/>
                                </when>
                                 <otherwise>
                                 <to
                                        
uri="jbi:endpoint:=http://www.springframework.org/schema/beans/Service1/PSProxy "
/>
                                </otherwise>
                        </choice>

                </route>
 </camel:camelContext>


CXFSE :

<cxfse:endpoint   endpoint="PSProxy" service="Service1">
<cxfse:pojo>
<bean class="com.comapny.ServiceImplProxy">
                                <property name="melissaPhysicalAddress">        
                        
                                        <cxfse:proxy service="melissa:Service"
endpoint="Service" type="melissadataaddresscheckservice.IService" >
</cxfse:proxy>                                                    
</property>               
        <property name="component" ref="servicemix-cxf-se"/>
        </bean>
</cxfse:pojo>
        </cxfse:endpoint>

after installation and restart i get could not create jbi component and if i uninstall the component and reinstall i can see the camelroute in nmr list
but when i try to execute it doest not go to the camleRoute to uri.

Please help

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/CXF-BC-Camel-CXF-SE-tp420884p4614171.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to