On 3/5/11 9:41 AM, Scott Came wrote:
Oddly enough, I discovered that not only was the GenericFile ->
CxfPayload converter called, but it is also wanting to convert from
CxfPayload -> String. I can't imagine why this is the case. I do
have another OSGi bundle, with a camel route, deployed in this same
instance of servicemix, and that bundle's route does go from
CxfPayload -> String. But it is in a separate bundle, so my
assumption would be that the type converter class would not be
accessible. Is that assumption incorrect?
No, current Camel converters are across the JVM.
In this way we can make sure the type converters in the camel-* bundles
can be used in customer application.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang