camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-2547) Bean parameter binding annotation for attachments
Date Sun, 14 Mar 2010 02:11:45 GMT

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

Willem Jiang reassigned CAMEL-2547:
-----------------------------------

    Assignee: Willem Jiang

> Bean parameter binding annotation for attachments
> -------------------------------------------------
>
>                 Key: CAMEL-2547
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2547
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.1.0, 2.2.0
>         Environment: all
>            Reporter: Kev Jackson
>            Assignee: Willem Jiang
>             Fix For: Future
>
>         Attachments: attachments.patch
>
>
> Currently, the following annotations[1] can be used to decouple POJOs from camel specific
Datatypes:
> @Body
> @Header
> @Headers
> @OutHeaders
> @Property
> @Properties
> @Handler 
> For handling mail messages with attachments, it makes sense to have an annotation @Attachments
which would allow the following method signature to be used in a POJO:
> public void process(@Attachments Map<String, DataHandler> attachments) throws Exception
> http://camel.apache.org/parameter-binding-annotations.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message