我们有一个 MDB,它正在对来自电子邮件帐户的电子邮件进行评级,MDB 实现 MailListener 接口,我正在寻找一个通过 SSL 启用 POP3 的属性
我在xml中有这样的设置,在下面,我为端口和SSL添加了一个额外的激活配置属性......我已经用谷歌搜索了它但没有成功,有人可以帮忙吗?
我正在使用 jboss5.1, seam2
<message-driven>
<description>An MDB that accepts mail messages</description>
<ejb-name>MailListenerMDB</ejb-name>
<ejb-class>si.arctur.fourPmServices.scheduleJobs.emailListener.MailListenerMDB</ejb-class>
<activation-config>
<activation-config-property>
<activation-config-property-name>userName</activation-config-property-name>
<activation-config-property-value>******</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>password</activation-config-property-name>
<activation-config-property-value>********</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>pollingInterval</activation-config-property-name>
<activation-config-property-value>15000</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>mailServer</activation-config-property-name>
<activation-config-property-value>*****</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>mailFolder</activation-config-property-name>
<activation-config-property-value>INBOX</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>storeProtocol</activation-config-property-name>
<activation-config-property-value>pop3</activation-config-property-value>
</activation-config-property>
</activation-config>
</message-driven>