camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Westermann <>
Subject Re: What codec do we need to use for sending an XML message to a MINA endpoint.
Date Thu, 07 Jul 2011 09:43:28 GMT
you may use the jetty http-component instead of mina


Am 07.07.2011 11:29, schrieb Sushmita chandra:
> I am trying to send an XML message to a MINA endpoint and read it back from
> there and do some processing.But I am not able to get the proper XML back.
> I tried to use the following syntax:
> 1   from("mina:tcp://") --->We get an exception where
> the datalength= 1010792557  is returned along with the hexadecimal values.
> Seems like incoming XML is not getting decoded properly due to lack of
> proper codec.
> 2.  from("mina:tcp://”) --->  Then the
> whole incoming XML query is read one line at a time and the whole processing
> is also done ,one line at a time.
> In case of HL7 messages there is a codec value called hl7codec that is used
> to parse the incoming HL7 message. I searched the web for similar codec
> value for XML message, but I couldn’t find anything as such, so that we
> could read the whole XML message as a whole.
> I want to know whether there is any specific codec for XML messages?
> Thanks,
> Sushmita
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

View raw message