Claus Ibsen created CAMEL-26064:
-----------------------------------
Summary: camel-as2 - add the muteException option to the server
and receipt consumers, true by default
Key: CAMEL-26064
URL: https://issues.apache.org/jira/browse/CAMEL-26064
Project: Camel
Issue Type: Improvement
Components: camel-as2
Reporter: Claus Ibsen
Fix For: 4.24.0
When the route of an as2 server/listen or receipt/receive consumer fails, the
consumer throws an {{HttpException}} whose text is the message of the exception
of the route ({{AS2Consumer}}, main 5aac7df76b83, line 166, and
{{AS2AsyncMDNConsumer}}, line 127), and HttpCore answers the partner with an
HTTP 500 that has that text as its body. The consumers of platform-http,
undertow and camel-http have the {{muteException}} option for this, true by
default in platform-http and undertow.
Found while adding the catalog body types of as2 (CAMEL-24961).
*Proposed change*: add {{muteException}} to the as2 consumers, true by default,
so the response only says that the message or the receipt could not be
processed; false gives the message of the exception as now. Note it in the
upgrade guide, as the default changes what the partner gets.
_Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)