You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 17:13:00 UTC

[jira] [Resolved] (CAMEL-15703) camel-core - Optional API on Exchange / Message

     [ https://issues.apache.org/jira/browse/CAMEL-15703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-15703.
---------------------------------
    Resolution: Won't Fix

> camel-core - Optional API on Exchange / Message
> -----------------------------------------------
>
>                 Key: CAMEL-15703
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15703
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> I wonder if we should add methods to Exchange and Message that uses java.util.Option as return value.
> Optional getOptionalProperty(String name)
> Optional<T> getOptionalProperty(String name, Class<T> type)
> And ditto for Message with its header and body (although a null body is much more rare)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)