WebSphere Adapter for Email
The adapter defines and generates three default business objects during enterprise service discovery– EmailBO, HeaderBO, and MailAttachmentBO. The EmailBO business object is a wrapper business object that contains the HeaderBO and MailAttachmentBO business objects as children. These default objects are the same for both inbound and outbound communication.
The EmailBO business object contains all of the details required by the adapter to process inbound and outbound events. As shown in the following figure, it is a parent object that contains the business object structures for the mail headers, mail content, and mail attachments as children.
EmailBO business object structure
Each HeaderBO business object consists of a header name and a header value. The header business object is constructed dynamically at runtime, after the adapter is deployed.
Each MailAttachmentBO business object consists of an attachment name and one e-mail attachment's worth of data. Each e-mail attachment is stored in its own MailAttachmentBO object.
During inbound processing, the attachments are parsed and the contents sent out as business objects. One attachment gets parsed into one MailAttachmentBO business object.
During outbound processing, the application server sets the data within the MailAttachmentBO business object during the request. The data in this business object then becomes an e-mail attachment when the e-mail message is created by the adapter.
Last updated: Mon 30 Oct 2006 03:44:37
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)