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.2.0, 2.1.0
         Environment: all
            Reporter: Kev Jackson
             Fix For: Future


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.

Reply via email to