<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:spring="http://www.springframework.org/schema/beans"
       xmlns:pop3="http://www.mulesource.org/schema/mule/pop3/2.0"
       xmlns:pop3s="http://www.mulesource.org/schema/mule/pop3s/2.0"
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
       http://www.mulesource.org/schema/mule/pop3/2.0 http://www.mulesource.org/schema/mule/pop3/2.0/mule-pop3.xsd
       http://www.mulesource.org/schema/mule/pop3s/2.0 http://www.mulesource.org/schema/mule/pop3s/2.0/mule-pop3s.xsd">

    <pop3:connector name="pop3Connector" backupEnabled="true" backupFolder="newBackup" checkFrequency="1234"
                    mailboxFolder="newMailbox" deleteReadMessages="false"/>

    <!-- need too revisit this once tests are working - it's not clear to me what
         key store is being used in the tests -->

    <pop3s:connector name="pop3sConnector" backupEnabled="true" backupFolder="newBackup" checkFrequency="1234"
                     mailboxFolder="newMailbox" deleteReadMessages="false">
        <pop3s:tls-client path="greenmail-truststore" storePassword="password"/>
        <pop3s:tls-trust-store path="greenmail-truststore" storePassword="password"/>
    </pop3s:connector>

    <pop3:endpoint name="global1" host="localhost" password="secret" port="123" user="bob"/>
    <pop3:endpoint name="global2" address="pop3://bob:secret@localhost:123"/>
    <pop3s:endpoint name="global1s" host="localhost" password="secret" port="123" user="bob"/>
    <pop3s:endpoint name="global2s" address="pop3s://bob:secret@localhost:123"/>

</mule>