Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Gemini Scheduler Service v.2.2.2 - Multiple MailboxProcessors?

web-app

Does the Scheduler service support multiple MailboxProcessor entries in the configuration file?

I have a few different POP3 accounts e.g sales@mydomain.com, support@mydomain.com which I want routing to different projects within Gemini. I've tried adding multiple sections to the config file, but it looks like only the last entry is read.

Have looked for any documentation on this subject, but have drawn a blank.

Thanks

simonj
· 1
simonj
Replies (4)
helpful
0
not helpful

Yes, it does. All you have to do is copy over the           <MailboxProcessor ...>          </MailboxProcessors> tag within the client. Make sure you remove the <-- --> XML comment


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I tried that, but it looks like only the last MailboxProcessor gets processed. I have tried each mail processor independently to verify it's not a problem with the settings. Incidentally, in my example below I have each processor set to log to a different file and only one debug file is created (the last one). Has anybody got this to work?

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="Gemini" type="CounterSoft.Gemini.Scheduler.ServiceConfigSection, CounterSoft.Gemini.Scheduler" />
  </configSections>
  <Gemini>
    <Clients>
      <Client WebServicesURL="http://mydomain.com/support/webservices" AuthenticationUsername="x" AuthenticationPassword="x">
        <MailboxProcessors>
 <MailboxProcessor
            Name="y"
            POPServer="z"
            POPServerPort="110"
            AuthenticationMethod="AUTO"
            UseSSL="false"
            POPMailbox="support@mydomain.com"
            POPUsername="support@mydomain.com"
            POPPassword="xxx"
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="3"
            UserID="3"
            ComponentID="51"
            IssueType="1"
            IssuePriority="1"
            DebugFile = "c:\GeminiPOP3log1.txt"
            DebugMode = "true"
            />
          <MailboxProcessor
            Name="y"
            POPServer="x"
            POPServerPort="110"
            AuthenticationMethod="AUTO"
            UseSSL="false"
            POPMailbox="sales@mydomain.com"
            POPUsername="sales@mydomain.com"
            POPPassword="xxx"
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="5"
            UserID="3"
            ComponentID="52"
            IssueType="1"
            IssuePriority="1"
            DebugFile = "c:\GeminiPOP3log2.txt"
            DebugMode = "true"
            />
        </MailboxProcessors>
        </Client>
    </Clients>
  </Gemini>
</configuration>

 


simonj
· 1
simonj
helpful
0
not helpful

You need to make the name attribute of the MailBoxProcessor unique:

    <MailboxProcessors>
 <MailboxProcessor
            Name="y0"
            POPServer="z"
            POPServerPort="110"
            AuthenticationMethod="AUTO"
            UseSSL="false"
            POPMailbox="support@mydomain.com"
            POPUsername="support@mydomain.com"
            POPPassword="xxx"
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="3"
            UserID="3"
            ComponentID="51"
            IssueType="1"
            IssuePriority="1"
            DebugFile = "c:\GeminiPOP3log1.txt"
            DebugMode = "true"
            />
          <MailboxProcessor
            Name="y1"
            POPServer="x"
            POPServerPort="110"
            AuthenticationMethod="AUTO"
            UseSSL="false"
            POPMailbox="sales@mydomain.com"
            POPUsername="sales@mydomain.com"
            POPPassword="xxx"
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="5"
            UserID="3"
            ComponentID="52"
            IssueType="1"
            IssuePriority="1"
            DebugFile = "c:\GeminiPOP3log2.txt"
            DebugMode = "true"
            />
        </MailboxProcessors>


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

That was staring me in the face! Thanks for your help. It works now :)


simonj
· 1
simonj