on 08-02-2013 12:04 PM
Hi,
I have a business requirement as below:
1. I need to send a File (NFS) to other File (FTP) and also to a EMail.
For this, can I cofigure in my ONLY ONE Integrated Configuration as below:
One Sender File Adapter with BS_SNDFile at the source side, One Receiver file adapter with BS_RCVFile and BS_RCVMail.
Now I have send file to BS_RCVFile Successfully with one OM1 and MM1, but not able to send an email to BS_RCVMail with another OM2 and MM2.
Here, my query is that, how to pass the Inbound Interface of BS_RCVFile to the Operation Mapping (OM2) and Message Mapping (MM2) of BS_RCVMail.
Moreover, I need to send an email only with Inbound interface of first receiver as a subject to the second Mail Receiver.
is it possible? is so How to proceed? or any other idea?
Regards,
Sreeni.
Hi Sreeni,
Your first requirement can be achieved by having a separate receiver interface for BS_RCVMail. Note that if you didn't use a MailPackage, the entire Payload will go as an attachment.
Couldn't understand the second requirement "Inbound interface of the first receiver to be a subject line of an email."
Another way you can achieve is by writing a UDF to send an email programatically using a JavaMail APIs which will eliminate the use of Mail adapter itself.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ameet,
Actually i have to two scenarios to send file to two Partners.
For these 2 scenarios, after sending the file using receiver communicaiton channel successfully, then i need to send an email to the two partners saying that we have sent the file to the partners.
Here our constrain is that, after successfull execution of the receiver file adapter, then only we have to send an email notification just notification with subject as we have sent XYZFile to Partner.
We can achive this by using OS Commands after message processing, but we need the same without OS Commands.
How to achive this?
Sreeni.
Hi All,
For more clearly, in one scenario I have configured two receivers with Integrated Configuration.
I am also able send the message to the two receivers at a time from the same.
Now my requirement is that, I have to send the message to the second receiver after first receiver successful message processing.
Can we do this logic in the Receiver Interface of Integrated Configuration OR in any other place?
Regards,
Sreeni.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.