Hi Freeman,

it's a file marshaler I tried to write based on the Fuse documentation. You can 
find it here: http://pastebin.com/R45mLfQi
I took the part where getTransformer() comes up from the default file marshaler 
that comes with ServiceMix.

Thanks,
Stefan


Am 15.09.2011 um 12:02 schrieb Freeman Fang:

> Hi,
> 
> Can't tell so much from this error, in which file[87,3] complain this error?
> 
> Freeman
> On 2011-9-15, at 下午5:48, Stefan Essl wrote:
> 
>> Hi there,
>> 
>> I'm missing another module and tried to figure out by myself which one, but 
>> I can't.
>> 
>> [87,3] cannot find symbol
>> [ERROR] symbol  : method getTransformer()
>> 
>> Where is this method from?
>> 
>> Thanks,
>> Stefan
>> 
>> 
>> Am 15.09.2011 um 10:10 schrieb Freeman Fang:
>> 
>>> Hi,
>>> 
>>> Class NoMessageContentAvailableException is from servicemix-core module, so 
>>> you need add it into your pom.xml
>>> 
>>> Freeman
>>> On 2011-9-15, at 下午4:01, Stefan Essl wrote:
>>> 
>>>> Hi there,
>>>> 
>>>> I'm trying to build a service assembly containing a file sender. My goal 
>>>> is to modify the marshaler of the file sender to my own needs. I started 
>>>> off with the default file marshaler which went fine. I then copied the 
>>>> code of the default file marshaler into my own file 
>>>> (MyDefaultFileMarshaler.java) and added the marshaler statement to the 
>>>> pom.xml of the file sender to use this (still unmodified) default 
>>>> marshaler.
>>>> However if I'm trying to build this project, I get plenty of errors 
>>>> telling me for example:
>>>> 
>>>> [ERROR]path_to_project/soap-file-su/src/main/java/org/apache/servicemix/components/util/MyDefaultFileMarshaler.java:[148,13]
>>>>  cannot find symbol
>>>> [ERROR] symbol  : class NoMessageContentAvailableException
>>>> [ERROR] location: class 
>>>> org.apache.servicemix.components.util.MyDefaultFileMarshaler
>>>> 
>>>> Since the java file contains "import 
>>>> org.apache.servicemix.jbi.NoMessageContentAvailableException;", I'm 
>>>> guessing that I need to include these imports somewhere in the pom.xml for 
>>>> Maven to include it as well. Nonetheless all the approaches I found and 
>>>> tried didn't bring me any further.
>>>> 
>>>> Any help would be appreciated!
>>>> 
>>>> Thanks,
>>>> Stefan
>>> 
>>> ---------------------------------------------
>>> Freeman Fang
>>> 
>>> FuseSource
>>> Email:[email protected]
>>> Web: fusesource.com
>>> Twitter: freemanfang
>>> Blog: http://freemanfang.blogspot.com
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
> 
> ---------------------------------------------
> Freeman Fang
> 
> FuseSource
> Email:[email protected]
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> 
> 
> 
> 
> 
> 
> 
> 
> 

Reply via email to