Hi,

In cxf bc consumer the  targetService="person:CustomerIncidentService"
So per the URI format from  [1], the from uri should be,
jbi:service:serviceNamespace[sep]serviceName

where you need replace the serviceNamespace and serviceName according to the
 targetService="person:CustomerIncidentService" in cxf bc consumer.

[1]http://camel.apache.org/jbi.html

Freeman

On 2011-11-24, at 下午5:22, Gnanaguru S wrote:


Hi Freeman ,

Thanks for your reply. As you said using jbi website, I defined the service
uri as below.

<camelContext xmlns="http://camel.apache.org/schema/spring";>
        <route>
                       <from
uri="jbi:service:http://localhost:9080/TestService"; />
                       <log message="FUSE CoE TEST LOG MESSAGE CUSTOM
MESSAGE "/>
                      <to uri="file://outputdir/" />
               </route>
</camelContext>

Thankfully I got this bundle deployed. Successfully. But when i tried to make some request through soap ui. I dont see any log or file in outputdir.

Also i saw further more way of defining jbi as jbi:endpoint, jbi:service. Is
the service should be fined operation specific ?.

Is my above scenario is right ?. By the way wsdl was publish using another
bundle irrespective of this camel code.

Please help me out freeman.

Regards
Guru


-----
Cheers
Guru
--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Using-the-servicemix-cxf-bc-as-endpoint-tp5019578p5019664.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