I'm having trouble doing a XSLT transformation in Camel.  I'm using Camel 1.6
and ServiceMix 4.0.0

Here is the route:
from("jbi:endpoint:http://blah.com/MyConsumerServiceT/HelloWebServiceT";).to("xslt:com/blah/test.xsl").to("jbi:endpoint:http://blah.com/IHelloWebService/HelloImpl";)

The exception is:org.apache.camel.NoTypeConversionAvailableException: No
type converter available to convert from type: class
org.apache.servicemix.camel.JbiMessage to the required type:
javax.xml.transform.Source with value JbiMessage:
org.apache.servicemix.jbi.runtime.impl.normalizedmessagei...@aee668
at
org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:121)
        at
org.apache.camel.impl.converter.DefaultTypeConverter.convertTo(DefaultTypeConverter.java:69)
        at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:69)
        at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:51)
        at
org.apache.servicemix.camel.JbiBinding.getJbiInContent(JbiBinding.java:159)
        at
org.apache.servicemix.camel.JbiBinding.makeJbiMessageExchange(JbiBinding.java:84)
        at
org.apache.servicemix.camel.CamelConsumerEndpoint.process(CamelConsumerEndpoint.java:79)
        at
org.apache.servicemix.camel.JbiEndpoint$JbiProducer.process(JbiEndpoint.java:98)
        at 
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:84)
        at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
        at
org.apache.camel.processor.interceptor.StreamCachingInterceptor.proceed(StreamCachingInterceptor.java:87)
        at
org.apache.camel.processor.interceptor.StreamCachingInterceptor.process(StreamCachingInterceptor.java:82)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:189)
        at
org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:133)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:115)
        at org.apache.camel.processor.Pipeline.process(Pipeline.java:89)
        at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
        at
org.apache.camel.processor.interceptor.StreamCachingInterceptor.proceed(StreamCachingInterceptor.java:87)
        at
org.apache.camel.processor.interceptor.StreamCachingInterceptor.process(StreamCachingInterceptor.java:82)
        at
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:52)
        at
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
        at
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
        at
org.apache.servicemix.camel.CamelProviderEndpoint.handleActiveProviderExchange(CamelProviderEndpoint.java:115)
        at
org.apache.servicemix.camel.CamelProviderEndpoint.process(CamelProviderEndpoint.java:73)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:627)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:581)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:478)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:347)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

-- 
View this message in context: 
http://old.nabble.com/Camel-XSLT-%22NoTypeConversionAvailableException%22-tp28171386p28171386.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to