Pop-call

From GreenVulcano Wiki
Revision as of 10:04, 16 November 2012 by Anonymous (talk) ({{VULCON}} / {{GVCONSOLE}} Configuration)
Jump to: navigation, search

Description

Use this GreenVulcano® ESB plugin if you want to receive an email.

VulCon / GV Console Configuration

GreenVulcano® ESB allows you to receive emails using the pop-call plugin. Received messages are codified in a XML that describes the content of the message and its attachments if presents.

The pop-call element is used by Channel and routed-call and has the following attributes:

Attribute Type Description
type fixed This attribute must assume the value call.
class fixed This attribute must assume the value it.greenvulcano.gvesb.virtual.pop.POPCallOperation.
name required Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
jndi-name required JNDI name of the mail Session configured in the application server.

The mail Sessions can be configured using the file mail-service.xml present into the folder //GV_HOME/application/deploy

override-protocol-host optional Corresponds to the property mail.protocol.host and overwrites the value of property mail.host specified in the configuration of the mail Session.
override-protocol-user optional Corresponds to the property mail.protocol.user and overwrites the value of property mail.user specified in the configuration of the mail Session.
delete-messages optional Mark a processed message as DELETED. Default false.
expunge optional Expunge (permanently remove) messages marked DELETED. Default false.
email-rx-cleaner optional RegExp pattern for email address cleaning.
Default "[A-z][A-z0-9_]*([.][A-z0-9_]+)*[@][A-z0-9_]+([.][A-z0-9_]+)*[.][A-z]{2,4}".

Into pop-call can be inserted the following subelements