You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Manuel Shenavai (Jira)" <ji...@apache.org> on 2022/03/16 21:28:00 UTC
[jira] [Created] (CAMEL-17812) MaxMessagesPerPoll / FetchSize should ignore unfetchable mails
Manuel Shenavai created CAMEL-17812:
---------------------------------------
Summary: MaxMessagesPerPoll / FetchSize should ignore unfetchable mails
Key: CAMEL-17812
URL: https://issues.apache.org/jira/browse/CAMEL-17812
Project: Camel
Issue Type: Bug
Components: camel-mail
Affects Versions: 3.15.0
Reporter: Manuel Shenavai
Mailboxes can contain mails that can not be fetched and therefore can not be processed. These mails will not be processed but will be counted as part of the poll (MaxMessagesPerPoll / FetchSize)
Example for unfetchable mail:
- mails with attachments that have an empty name
Example Mail:
Return-Path: <so...@mail.com>
Received: from host.docker.internal ([xxx.xx.xx.xx])
by smtp.gmail.com with ESMTPSA id gs18-20020a170906f19200b006d03cfb15e4sm1396942ejb.xxx.xxx.xxx.xx
for <cp...@gmail.com>
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Fri, 25 Feb 2022 11:55:31 -0800 (PST)
Date: Fri, 25 Feb 2022 20:55:29 +0100 (CET)
From: cpimercury@gmail.com
To: cpimercury@gmail.com
Message-ID: <51...@host.docker.internal>
Subject: This is the mail subject
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_0_932607259.1645818929513"
------=_Part_0_932607259.1645818929513
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This is the message body
------=_Part_0_932607259.1645818929513
Content-Type: image/jpeg; name=""
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=""
------=_Part_0_932607259.1645818929513--
--
This message was sent by Atlassian Jira
(v8.20.1#820001)