You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Juergen Mayrbaeurl <ju...@hvb.sozvers.at> on 2007/03/01 08:56:17 UTC

Re: [jira] Correct way to get inputstream from message content

Please opensource it!

Kind regards
Juergen


gnodet wrote:
> 
> You can not (and should not) assume a specific kind of Source
> containing the xml.  It may be based on a stream, dom, stax,
> sax, string, etc ...
> You can use the SourceTransformer (o.a.s.jbi.jaxp package)
> which has a toStreamSource method that you could use.
> 
> Btw, are you considering opensourcing it ?
> 
> On 2/28/07, bradtwurst <na...@xoxy.net> wrote:
>>
>> Hello all,
>>
>> What is the correct way to get a inputStream from a normalized message
>> content.
>>
>> I'm in the process of creating a SE that utilizes servingXml and, for
>> some
>> reason, I just can't connect these dots.
>>
>> Thanks,
>> James
>> --
>> View this message in context:
>> http://www.nabble.com/Correct-way-to-get-inputstream-from-message-content-tf3321687s12049.html#a9234878
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/Correct-way-to-get-inputstream-from-message-content-tf3321687s12049.html#a9245265
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


Re: [jira] Correct way to get inputstream from message content

Posted by bradtwurst <na...@xoxy.net>.
I am intending on providing the code to the SM project for their
consideration and improvement.

Hopefully, I will have it tested out and ready for uploading by the end of
this week.

I have successfully used servingXml inside of a jbi service unit to convert
from a flat file to an xml format.

Most of the issues that I have encountered is in my learning of the
servingXml 'language'.  

Thanks,
James

======================


Please opensource it!

Kind regards
Juergen



-- 
View this message in context: http://www.nabble.com/Correct-way-to-get-inputstream-from-message-content-tf3321687s12049.html#a9335669
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.