Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2721

Camel-mina logs a warning if an InOut connection does not send a reply

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • camel-mina
    • None

    Description

      I have an application that receives UDP packets and only occasionally replies when conditions warrant.

      This works okay, except when I have an empty body on Out, I get this in the log:

      Cannot write body since its null, closing session: Exchange[Message: [Body is null]]
      

      Is there some other way to indicate a response shouldn't be sent? Looking in MinaConsumer, nothing jumps out at me.

      If not, it seems like this should be DEBUG.

      Thanks.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            cott@internetstaff.com Cott Lang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: