Skip to Content
avatar image
Former Member

Dynamic Receiver Determination and read attachment

I'm doing a mail to file scenario.

I need to get the mail from mail server and do some validations based on subject and attachment. If it's valid, then need to place the file in NFS.

If the validation fails, need to send a notification mail to sender.

I have configured the sender channel to pick mail from mail server, with mail package option.Extended receiver determination is used to determine receiver based on the payload.

Issue : When I place the file in NFS, only the main payload is placed instead of the attachment.

I can't swap the attachment in mail sender adapter, if I do so main payload will not be passed to the mapping and cannot determine the receiver. Is there any way to get the attachment and pass it to the receiver file channel without going for swapbean option?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 16, 2017 at 05:37 AM

    Hi,

    Swapping in receiver channel does not work?

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • May 16, 2017 at 06:56 AM

    other option is after determine the receiver , swap in mapping.

    Regards

    GB

    Add comment
    10|10000 characters needed characters exceeded