Skip to Content
Author's profile photo Paul Todd

HCI First Steps Part 3 – Building the iFlow continued…

In the previous installment, HCI First Steps Part 2- Creating the iFlow the iFlow was setup so that the iFlow could be started and the data retrieved from a remote service. In this exercise the data will be parsed and sent to the email account as an email message.

To handle the data from the request a content modifier component is used that will parse the XML and then use XPath’s to extract the relevant parts of the XML into variables that will be used in the message.

/wp-content/uploads/2015/09/pic_798270.png

After the content modifier has processed the message, the message will need to be delivered so at this stage an “End Message” event will be added to the integration process as well.

/wp-content/uploads/2015/09/pic_798270.png

Expand the “Others” panel in the palette and select the “Sender” component and place it in the iFlow.

 

/wp-content/uploads/2015/09/pic_798270.png

And of course the destination (sender) component and channel will also be required to take the final message and deliver it somewhere, join them together using a message flow connector.

/wp-content/uploads/2015/09/pic_798270.png

As before, to configure the channel requires right clicking over the channel and choosing “Configure Channel” in order to reliably configure the channel definition.

/wp-content/uploads/2015/09/pic_798270.png

For the outgoing messages the messages will be sent to the “Mail” adapter, that will be using SMTP to deliver the message. As before, once the adapter has been selected, goto the “Adapter Specific” tab and enter the relevant details.

/wp-content/uploads/2015/09/pic_798270.png

Here the address of the destination server will be the gmail servers: smtp.gmail.com:587 using STARTTLS protocol and both the from and to fields will be set to my personal gmail account. For now the subject and body fields will not be configured.

All that is missing is the credential name and this will require a little detour…. which will be covered in the next posting

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Apu Das
      Apu Das

      When sending mail to the gmail server , why its a sender and not a receiver.

      Thanks,

      Apu