How to configure mail session timeouts on EAP 6

Solution Unverified - Updated -

Issue

In JBoss EAP 5 it used to be possible to configure mail timeouts by adding properties to mail-service.xml, for example:

<property name="mail.smtp.timeout" value="120000" />
<property name="mail.smtp.connectiontimeout" value="120000" />

We recently migrated to JBoss EAP 6.0.1, but I couldn't find how to configure the same properties.

Environment

  • JBoss Enterprise Application Platform (EAP) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.