You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Walke, Martin (Leonardo, UK)" <ma...@leonardocompany.com> on 2019/10/08 14:39:54 UTC

RE: netty tcp consumer not reading large payload [General Use]

Hi,

The example you probably want is:

https://github.com/apache/camel/tree/master/examples/camel-example-netty-custom-correlation

It's a good example of what's required. Don't get side-tracked by netty-http examples as they're not what you want for a TCP stream.

Does your message have an 'end-of-message' byte value? You need to create a decoder factory class to put the incoming stream into an effective delimited message .

Regards
Martin

From: Rohan Emmanuel [via Camel] [mailto:ml+s465427n5844754h12@n5.nabble.com]
Sent: 08 October 2019 12:59
To: Walke, Martin (Leonardo, UK)
Subject: netty tcp consumer not reading large payload


                    *** WARNING ***

This message has originated outside your organisation,
  either from an external partner or the Global Internet.
      Keep this in mind if you answer this message.
Hi,
I have problem reading large payload using the netty TCP component. The
payload is getting read in chunks, can you please guide me as to how can I
read the entire payload

--
Regards,
Rohan Emmanuel

________________________________
If you reply to this email, your message will be added to the discussion below:
https://camel.465427.n5.nabble.com/netty-tcp-consumer-not-reading-large-payload-tp5844754.html
To unsubscribe from Camel - Users, click here<https://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=bWFydGluLndhbGtlQGxlb25hcmRvY29tcGFueS5jb218NDY1NDI4fDQ3MzE0MjAzOQ==>.
NAML<https://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
Leonardo MW Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************