[
https://issues.apache.org/activemq/browse/CAMEL-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kev Jackson updated CAMEL-2547:
-------------------------------
Attachment: attachments.patch
This is pretty close to fixing this issue
> 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
> 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.