[
https://issues.apache.org/activemq/browse/CAMEL-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59359#action_59359
]
Claus Ibsen commented on CAMEL-2721:
------------------------------------
I dont think we have an option to control the log level of this. Lets add such
an option.
What would be a good name for it?
{code}
warnOnEmptyBody=true|false
{code}
The option should be added to Netty as well.
> Camel-mina logs a warning if an InOut connection does not send a reply
> ----------------------------------------------------------------------
>
> Key: CAMEL-2721
> URL: https://issues.apache.org/activemq/browse/CAMEL-2721
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-mina
> Affects Versions: 2.2.0
> Reporter: Cott Lang
>
> 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:
> {code}
> Cannot write body since its null, closing session: Exchange[Message: [Body is
> null]]
> {code}
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.