WildFly Mail RA IMPL

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-impl
Last Version

Last Version

1.0.0.Final
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project Organization

JBoss by Red Hat

Download mail-ra-impl

How to add to project

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

Group / Artifact Type Version
org.wildfly : mail-ra-api jar 1.0.0.Final
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