WildFly Mail RA API

Parent POM for JBoss projects. Provides default project build configuration.

License

License

Categories

Categories

WildFly Container Application Servers
GroupId

GroupId

org.wildfly
ArtifactId

ArtifactId

mail-ra-api
Last Version

Last Version

1.0.0.Final
Release Date

Release Date

Type

Type

jar
Description

Description

WildFly Mail RA API
Parent POM for JBoss projects. Provides default project build configuration.
Project Organization

Project Organization

JBoss by Red Hat

Download mail-ra-api

How to add to project

<!-- https://jarcasting.com/artifacts/org.wildfly/mail-ra-api/ -->
<dependency>
    <groupId>org.wildfly</groupId>
    <artifactId>mail-ra-api</artifactId>
    <version>1.0.0.Final</version>
</dependency>
// https://jarcasting.com/artifacts/org.wildfly/mail-ra-api/
implementation 'org.wildfly:mail-ra-api:1.0.0.Final'
// https://jarcasting.com/artifacts/org.wildfly/mail-ra-api/
implementation ("org.wildfly:mail-ra-api:1.0.0.Final")
'org.wildfly:mail-ra-api:jar:1.0.0.Final'
<dependency org="org.wildfly" name="mail-ra-api" rev="1.0.0.Final">
  <artifact name="mail-ra-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.wildfly', module='mail-ra-api', version='1.0.0.Final')
)
libraryDependencies += "org.wildfly" % "mail-ra-api" % "1.0.0.Final"
[org.wildfly/mail-ra-api "1.0.0.Final"]

Dependencies

compile (2)

Group / Artifact Type Version
com.sun.mail : javax.mail jar 1.5.5
org.jboss.logging : jboss-logging jar 3.3.0.Final

provided (1)

Group / Artifact Type Version
org.jboss.ironjacamar : ironjacamar-spec-api jar 1.3.2.Final

Project Modules

There are no modules declared in this project.

WildFly Mail RA

Mail inflow resource addapter for WildFly 10

Building

Ensure you have JDK 7 (or newer) installed

java -version

If you need Maven 3.2.5 (or newer) installed you can use it directly

mvn install

Usage example

....
@MessageDriven(
    activationConfig = {
        @ActivationConfigProperty(propertyName = "mailServer", propertyValue = "mail-server-host"),
        @ActivationConfigProperty(propertyName = "userName", propertyValue = "username"),
        @ActivationConfigProperty(propertyName = "password", propertyValue = "password"),
        @ActivationConfigProperty(propertyName = "storeProtocol", propertyValue = "imaps"),
        @ActivationConfigProperty(propertyName = "mailFolder", propertyValue = ""),
        @ActivationConfigProperty(propertyName = "pollingInterval", propertyValue = "5000")
    })
public class MyInboundMailMDB implements org.wildfly.mail.ra.MailListener {

    
    @Override
    public void onMessage(Message msg) {
        //process msg
    }
    
}
org.wildfly

Versions

Version
1.0.0.Final
1.0.0.Alpha3
1.0.0.Alpha2
1.0.0.Alpha1