Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.mule.api.annotations.param
Annotation Type OutboundAttachments

    @Target(value=PARAMETER)
    @Retention(value=RUNTIME)
    @Documented
    public @interface OutboundAttachments

Used on component methods, this parameter annotation passes in a reference to a `Map` that can be used to populate outbound attachments that will be set with the outgoing message. For example, when sending an email message, you may want to add attachments such as images or documents.

This annotation must only be defined on a parameter of type `Map`. The elements in the map will be of type `DataHandler`, thus the annotated parameter should be defined as `java.util.Map<java.lang.String, javax.activation.DataHandler>` Where the key is the attachment name and the value is the handler for the attachment.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.