Not yeat, sorry. The task are still open
MilesCanada wrote: > > Hello FuinhaAzul, I had tried to do the similar and encountered the exact > same error. did you manage to get your example working? > > Regards, > > Miles > > > FuinhaAzul wrote: >> >> Gert, did you tried some example of receive mail message? >> >> If I read a file, then all works fine, but with mail component, that >> message "content not alowed in prolog" still shows. >> >> Any sugestion? >> >> >> >> >> >> >> Gert Vanthienen wrote: >>> >>> L.S., >>> >>> I think the DefaultMailMarshaler might be trying to add the message >>> content to the JBI MessageExchange as well. Could you try enabling >>> DEBUG logging and sending us the output from the logging, so we can >>> find out where/when the exception occurs? Also, could you paste us >>> the full stack trace? If my guess is correct, adding some XML content >>> to the message (provided it is a text/plain message) should be a >>> workaround, but I'll give things a go here as well to see if I can >>> reproduce this locally. >>> >>> Regards, >>> >>> Gert Vanthienen >>> ------------------------ >>> Open Source SOA: http://fusesource.com >>> Blog: http://gertvanthienen.blogspot.com/ >>> >>> >>> >>> 2009/8/4 FuinhaAzul <[email protected]>: >>>> >>>> Hey guys! >>>> >>>> I´m still tring to receive the message and write de attachment to a >>>> file >>>> (the atachment is a xml), but: "The content is not allowed in prolog". >>>> >>>> I tried DefaultFIleMarshaler and BinaryFileMarsaler, but the error is >>>> the >>>> same. >>>> >>>> The email is succefuly received, but when I forward to file endpoint, >>>> then >>>> the exception is throw. >>>> >>>> Any Ideas? (I think this is the last question to make this sample >>>> work.) >>>> http://www.nabble.com/file/p24801223/nl-mailtofile-sa.zip >>>> nl-mailtofile-sa.zip >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Almost-making-%28Mail-to-file%29-tp24801223p24801223.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>> >>>> >>> >>> >>> ----- >>> --- >>> Gert Vanthienen >>> http://gertvanthienen.blogspot.com >>> >> >> > > -- View this message in context: http://www.nabble.com/Almost-making-%28Mail-to-file%29-tp24801223p25244288.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
