expresso.properties

The expresso.properties file enables you to set various properties related to the Expresso server:
Property Description
local.host Host name or IP address of the Expresso server. Default host is localhost, 0.0.0.0.
local.port Local port of the Expresso server. Default value is 36136.
public.host Public host name or IP address of the Expresso server.
public.port Public port of the Expresso server.

Sample File

##########################
# Expresso server config #
# Usage: java ExpressoServer -Dexpresso.config.file=<path>/expresso.properties
##########################

#public.host = expresso.com
#public.port = 36136
#local.host = 0.0.0.0
local.port = 36136
socket.connectTimeout = 20000
socket.readTimeout = 20000
provider.port = 40000

######################################################
# Twilio Provider config to be configured by the user#
######################################################

#expresso.providers.twilio.account_token = <value>
#expresso.providers.twilio.account_sid = <value>
#expresso.providers.twilio.from_number = <value>

######################################################
# Email Provider config to be configured by the user #
######################################################

mail.sender.email = <value>
mail.sender.password = <value>
mail.subject.default = Notificaton from Expresso
mail.smtp.host = smtp.gmail.com
mail.smtp.port = 465

# to enable authentication
mail.smtp.auth = true

# to use SSL
mail.smtp.socketFactory.port = 465
mail.smtp.socketFactory.class = javax.net.ssl.SSLSocketFactory

# to use TLS
#mail.smtp.starttls.enable = true

#########################################
# iOS push notification provider config #
#########################################

expresso.providers.pushnotifications.apns.host = gateway.push.apple.com
expresso.providers.pushnotifications.apns.port = 2195
expresso.providers.pushnotifications.apns.threadPoolSize = 4
expresso.providers.pushnotifications.apns.ssl.pkcs.keystore.file.path = %TIBCO_EXPRESSO_HOME_ESC%/config/expresso_apns_prod.p12
expresso.providers.pushnotifications.apns.ssl.pkcs.keystore.password = tibco
expresso.providers.pushnotifications.apns.ssl.jks.truststore.file.path = %TIBCO_EXPRESSO_HOME_ESC%/config/apns_prod_truststore.jks
expresso.providers.pushnotifications.apns.ssl.jks.truststore.password = tibco

############################################################
# Max. number of user messages to be packaged in one chunk #
############################################################
expresso.user.max_no_of_messages = 50